Skip to content
Commits on Dec 20, 2011
  1. @guilleiguaran

    Skip assets options in environments files when --skip-sprockets is used

    guilleiguaran committed Dec 11, 2011
    Conflicts:
    
    	railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
    	railties/test/generators/app_generator_test.rb
Commits on Aug 30, 2011
  1. @guilleiguaran
  2. @guilleiguaran

    Configuration changes for asset pipeline: remove config.assets.allow_…

    guilleiguaran committed Aug 30, 2011
    …debugging, add config.assets.compile and config.assets.digest
Commits on Aug 7, 2011
  1. @spastorino

    x_sendfile_header now defaults to nil and production.rb env file doesn't

    spastorino committed Aug 7, 2011
    set a particular value for it. This allows servers to set it through
    X-Sendfile-Type, read
    https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more
    info. Anyways you can force this value in your production.rb
Commits on Jun 16, 2011
  1. @wycats

    Make the API for compression consistent between JS and CSS. By defaul…

    wycats committed Jun 16, 2011
    …t, users just need to say whether they want compression or not, and a default will be chosen by a Railtie. In the case of CSS, this default is already chosen by the sass-rails gem.
    
    Users can still explicitly choose a compressor in their application.rb if they have a preference, but will usually want to let plugins choose defaults in their Railties.
Commits on May 24, 2011
  1. @wycats

    Change compressor API so that plugins can register default compressor…

    tomhuda committed with wycats May 23, 2011
    …s for their stylesheet or JS engines and still allow the user to turn off compression
Commits on May 11, 2011
  1. @vijaydev

    fix spellings

    vijaydev committed May 11, 2011
Commits on Apr 27, 2011
  1. @dhh

    Relevant options closer together

    dhh committed Apr 27, 2011
  2. @dhh

    enable uglifier gem as new version of execjs is relased

    Ganesh Kumar committed with dhh Apr 27, 2011
Commits on Apr 25, 2011
  1. @dhh

    Temporarily disable uglifier until a new version depending on execjs …

    dhh committed Apr 24, 2011
    …0.2.0 can be released (tomorrow?)
Commits on Apr 22, 2011
  1. @dhh
Commits on Apr 19, 2011
  1. @dhh
Commits on Mar 27, 2011
  1. @sikachu @dhh

    Add `config.force_ssl` configuration which will load `Rack::SSL` midd…

    sikachu committed with dhh Mar 27, 2011
    …leware if set to true
    
    This will allow user to be able to force all requests to be under HTTPS protocol.
    
    This commit was a request from DHH. Special thanks to Josh Peek as well for making `Rack::SSL`.
Commits on Sep 14, 2010
  1. @rohit
Commits on Jun 29, 2010
  1. @josevalim
  2. @wycats

    Create a deprecation behavior that triggers a notification for deprec…

    wycats committed Jun 29, 2010
    …ation notices, and make the behaviors independent of the environment names.
    
    * In Rails 2.3 apps being upgraded, you will need to add the deprecation
      configuration to each of your environments. Failing to do so will
      result in the same behavior as Rails 2.3, but with an outputted warning
      to provide information on how to set up the setting.
    * New Rails 3 applications generate the setting
    * The notification style will send deprecation notices using
      ActiveSupport::Notifications. Third-party tools can listen in to
      these notifications to provide a streamlined view of the
      deprecation notices occurring in your app.
    * The payload in the notification is the deprecation warning itself
      as well as the callstack from the point that triggered the
      notification.
Commits on Apr 17, 2010
  1. @svenfuchs @lifo

    Make i18n fallbacks configurable and fallback to the default locale b…

    svenfuchs committed with lifo Apr 16, 2010
    …y default in production [#4428 state:resolved]
    
    Allows to configure locale fallbacks through config.i18n.fallbacks. The default setting
    config.i18n.fallbacks = true in production.rb will make I18n.t lookup fallback to the
    I18n.default_locale if a translation could not be found for the current or given locale.
    
    config.fallbacks = true
    
    config.fallbacks.map = { :ca => :es }
    config.fallbacks.defaults = [:'es-ES', :es]
    
    config.fallbacks = [:'es-ES', :es]
    
    config.fallbacks = { :ca => :es }
    
    config.fallbacks = [:'es-ES', :es, { :ca => :es }]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Mar 28, 2010
  1. @watsonian @wycats
Commits on Mar 26, 2010
  1. @wycats

    Make X-Sendfile default to "" so it works correctly in dev mode.

    wycats committed Mar 26, 2010
    Provide a default in production.rb that can be modified, so that
    people who care about sendfile performance in production mode can
    get better performance easily.
Commits on Mar 23, 2010
  1. @josevalim

    Load generators from both lib/rails/generators and lib/generators. Us…

    josevalim committed Mar 23, 2010
    …ing the former since it's less obstrusive.
Commits on Jan 18, 2010
  1. @josevalim

    Generators load path now will be Ruby load path. If you want to use r…

    josevalim committed Jan 18, 2010
    …spec:install generator, you need generators/rspec/install_generator in your load path.
Commits on Dec 22, 2009
  1. test.rb, dev.rb, and production.rb just reopen the Application class;…

    Carlhuda committed Dec 21, 2009
    … no more hax required
Something went wrong with that request. Please try again.