Skip to content
This repository

Aug 07, 2011

  1. Santiago Pastorino

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

    set a particular value for it. This allows servers to set it through
    X-Sendfile-Type, read for more
    info. Anyways you can force this value in your production.rb
    authored August 07, 2011

Jun 16, 2011

  1. Yehuda Katz

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

    …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.
    authored June 16, 2011

May 24, 2011

  1. Change compressor API so that plugins can register default compressor…

    …s for their stylesheet or JS engines and still allow the user to turn off compression
    authored May 23, 2011 wycats committed May 24, 2011

May 11, 2011

  1. Vijay Dev

    fix spellings

    authored May 11, 2011

Apr 27, 2011

  1. David Heinemeier Hansson

    Relevant options closer together

    authored April 27, 2011
  2. enable uglifier gem as new version of execjs is relased

    authored April 27, 2011 dhh committed April 27, 2011

Apr 25, 2011

  1. David Heinemeier Hansson

    Temporarily disable uglifier until a new version depending on execjs …

    …0.2.0 can be released (tomorrow?)
    authored April 24, 2011

Apr 22, 2011

  1. David Heinemeier Hansson

    Turn on JS/CSS compression by default

    authored April 22, 2011

Apr 19, 2011

  1. David Heinemeier Hansson

    Add note about the option to add other precompile targets

    authored April 19, 2011

Mar 27, 2011

  1. Prem Sichanugrist

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

    …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`.
    authored March 27, 2011 dhh committed March 27, 2011

Sep 14, 2010

  1. Rohit Arondekar

    Application settings are specified in application.rb and not environm…

    authored September 14, 2010

Jun 29, 2010

  1. José Valim

    Change :notification to :notify (ht: m4n)

    authored June 29, 2010
  2. Yehuda Katz

    Create a deprecation behavior that triggers a notification for deprec…

    …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
    authored June 29, 2010

Apr 17, 2010

  1. Sven Fuchs

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

    …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 = { :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 <>
    authored April 16, 2010 lifo committed April 17, 2010

Mar 28, 2010

  1. Joel Watson

    Fixes typo in environments/production.rb template.

    authored March 27, 2010 wycats committed March 27, 2010

Mar 26, 2010

  1. Yehuda Katz

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

    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.
    authored March 26, 2010

Mar 23, 2010

  1. José Valim

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

    …ing the former since it's less obstrusive.
    authored March 23, 2010

Jan 18, 2010

  1. José Valim

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

    …spec:install generator, you need generators/rspec/install_generator in your load path.
    authored January 18, 2010

Dec 22, 2009

  1. Replace reopening the class with App.configure as an alias to class_eval

    authored December 21, 2009
  2. test.rb, dev.rb, and production.rb just reopen the Application class;…

    … no more hax required
    authored December 21, 2009
Something went wrong with that request. Please try again.