Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 23, 2012
  1. @felixbuenemann
  2. @felixbuenemann

    Move config.autoflush_log to correct template.

    felixbuenemann authored
    This accidentally ended up in the development template
    instead of the production template, where it makes
    most sense.
Commits on Jan 21, 2012
  1. @fxn

    uniformizes the punctuation of comments in some files generated for n…

    fxn authored
    …ew apps
    
    Some end with a full stop, some don't. Let's have attention to detail
    and make them uniform. I have chosen to add full stops according to
    our documentation guidelines related to RDoc.
Commits on Dec 11, 2011
  1. @guilleiguaran
Commits on Dec 2, 2011
  1. @fxn
Commits on Oct 19, 2011
  1. @dhh

    Fix the proper production.rb

    dhh authored
Commits on Aug 31, 2011
  1. @guilleiguaran
  2. @guilleiguaran

    Backport f443f9c to master

    guilleiguaran authored
Commits on Aug 7, 2011
  1. @spastorino

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

    spastorino authored
    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 authored
    …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 authored wycats committed
    …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 authored
Commits on Apr 27, 2011
  1. @dhh

    Relevant options closer together

    dhh authored
  2. @dhh

    enable uglifier gem as new version of execjs is relased

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

    Temporarily disable uglifier until a new version depending on execjs …

    dhh authored
    …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 authored dhh committed
    …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 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. @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.