Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 17, 2010
  1. @svenfuchs @lifo

    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. @watsonian @wycats

    Fixes typo in environments/production.rb template.

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

    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. @josevalim

    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. @josevalim

    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.