Note that there are some explanatory texts on larger screens.

plurals
  1. POdoes rails 3.1 download jquery and jquery ui files if specified in the asset pipeline?
    primarykey
    data
    text
    <p>does rails 3.1 download jquery and jquery ui files if specified in the asset pipeline? I have the gems installed and my application.js is as below Do I need to copy jquery manually into the pipeline?</p> <p>gem file :</p> <pre><code>source 'http://rubygems.org' gem 'rails', '3.1.0' # Bundle edge Rails instead: # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git' gem 'sqlite3' # Gems used only for assets and not required # in production environments by default. group :assets do gem 'sass-rails', " ~&gt; 3.1.0" gem 'coffee-rails', "~&gt; 3.1.0" gem 'uglifier' gem 'jquery-rails' gem 'jquery-ui-rails' end #gem 'jquery-rails' # Use unicorn as the web server # gem 'unicorn' # Deploy with Capistrano # gem 'capistrano' # To use debugger # gem 'ruby-debug19', :require =&gt; 'ruby-debug' group :test do # Pretty printed test output gem 'turn', :require =&gt; false end </code></pre> <p>Layout:</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Depot31&lt;/title&gt; &lt;%= stylesheet_link_tag "application" %&gt; &lt;%= javascript_include_tag "application" %&gt; &lt;%= csrf_meta_tags %&gt; &lt;/head&gt; &lt;body&gt; &lt;%= yield %&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Application.js</p> <pre><code>// This is a manifest file that'll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically // be included in the compiled file accessible from http://example.com/assets/application.js // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. //= require jquery //= require jquery-ui //= require jquery_ujs //= require_tree . </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload