Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 14, 2010
  1. Rohit Arondekar Xavier Noria

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

    rohit authored fxn committed
    …ent.rb
Commits on Jun 29, 2010
  1. José Valim
  2. Yehuda Katz

    Create a deprecation behavior that triggers a notification for deprec…

    wycats authored
    …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. Sven Fuchs Pratik

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

    svenfuchs authored lifo committed
    …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. Joel Watson Yehuda Katz

    Fixes typo in environments/production.rb template.

    watsonian authored wycats committed
Commits on Mar 26, 2010
  1. Yehuda Katz

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

    wycats authored
    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. José Valim

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

    josevalim authored
    …ing the former since it's less obstrusive.
Commits on Jan 18, 2010
  1. José Valim

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

    josevalim authored
    …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 authored
    … no more hax required
Something went wrong with that request. Please try again.