search for: unminified

Displaying 1 result from an estimated 1 matches for "unminified".

Did you mean: minified
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
...n.rb if Rails.env.production? config.action_view.javascript_expansions[:defaults] = %w(jquery.min rails application) else config.action_view.javascript_expansions[:defaults] = %w(jquery rails application) end So in production I want to include jquery.min whereas in development I want the unminified (jquery). But this seems not to work and when I look at the jquery-rails railtie, I see the following code: module Jquery module Rails class Railtie < ::Rails::Railtie config.before_initialize do if ::Rails.root.join("public/javascripts/jquery-ui.min.js").exist?...