Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 12, 2012
  1. @spastorino
Commits on May 11, 2012
  1. @homakov
Commits on Mar 12, 2012
  1. @tenderlove
  2. @tenderlove

    allow people to specify custom formatters, use the default formatter …

    tenderlove authored
    …in production so that PID and timestamp are logged. fixes #5388
Commits on Feb 22, 2012
  1. @felixbuenemann
Commits on Feb 7, 2012
  1. @tenderlove
Commits on Jan 17, 2012
  1. @kennyj

    Deprecate RAILS_CACHE constant.

    kennyj authored
Commits on Jan 3, 2012
  1. @lest
Commits on Dec 20, 2011
  1. @tenderlove
Commits on Dec 12, 2011
  1. @josevalim
Commits on Dec 10, 2011
  1. @tenderlove

    * ActiveSupport::BufferedLogger#silence is deprecated. If you want to…

    tenderlove authored
    … squelch
        logs for a certain block, change the log level for that block.
    *   ActiveSupport::BufferedLogger#open_log is deprecated.  This method should
        not have been public in the first place.
    *   ActiveSupport::BufferedLogger's behavior of automatically creating the
        directory for your log file is deprecated.  Please make sure to create the
        directory for your log file before instantiating.
    *   ActiveSupport::BufferedLogger#auto_flushing is deprecated.  Either set the
        sync level on the underlying file handle like this:
            f ='foo.log', 'w')
            f.sync = true
        Or tune your filesystem.  The FS cache is now what controls flushing.
    *   ActiveSupport::BufferedLogger#flush is deprecated.  Set sync on your
        filehandle, or tune your filesystem.
Commits on Oct 19, 2011
  1. @dhh

    Added X-Request-Id tracking and TaggedLogging to easily log that and …

    dhh authored
    …other production concerns
Commits on Sep 24, 2011
  1. @josevalim

    `rake assets:precompile` loads the application but does not initializ…

    josevalim authored
    …e it.
    To the app developer, this means configuration add in
    config/initializers/* will not be executed.
    Plugins developers need to special case their initializers that are
    meant to be run in the assets group by adding :group => :assets.
Commits on Aug 24, 2011
  1. @tenderlove
Commits on May 7, 2011
  1. @josevalim
Commits on May 6, 2011
  1. @jasonrudolph

    Always flush logger at exit

    jasonrudolph authored
    Prior to this change, running code via script/runner would demonstrate
    different logging behavior than running the same code via a rake task.
    In production mode the script/runner approach would always flush the
    logger, but the rake-based approach would not automatically flush the
    logger. This discrepancy violates the principle of least surprise, and
    it could lead to the loss of important production logging data.
    This change removes special-case code in the "runner" command, and
    replaces it with a general solution to ensure that the logger gets
    flushed at exit. This solution works for "runner", "console", "server",
    rake tasks, and any other process that loads the Rails environment.
Commits on Dec 20, 2010
  1. @josevalim

    Use AD::Reloader.to_cleanup for reloading [#2873 state:resolved]

    John Firebaugh authored josevalim committed
    Signed-off-by: José Valim <>
Commits on Oct 6, 2010
  1. @josevalim
Commits on Sep 3, 2010
  1. @drogus
Commits on Jun 19, 2010
  1. @josevalim
Commits on May 29, 2010
  1. @josevalim
Commits on May 15, 2010
  1. @wycats

    Reorganized initializers a bit to enable better hooks for common case…

    wycats authored
    …s without the need for Railtie. Specifically, the following hooks were added:
    * before_configuration: this hook is run immediately after the Application class 
      comes into existence, but before the user has added any configuration. This is
      the appropriate place to set configuration for your plugin
    * before_initialize: This is run after all of the user's configuration has completed,
      but before any initializers have begun (in other words, it runs right after
    * after_initialize: This is run after all of the initializers have run. It is an
      appropriate place for forking in a preforking setup
    Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
Commits on Apr 29, 2010
  1. @josevalim

    The rake task :environment now loads config/environment.rb instead of…

    josevalim authored
    … initializing the application on its own. This fixes [#4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
Commits on Mar 2, 2010
Commits on Feb 16, 2010
  1. @sikachu @josevalim

    Rename Rails::Subscriber to Rails::LogSubscriber

    sikachu authored josevalim committed
Commits on Jan 25, 2010
  1. @josevalim
  2. @josevalim
Commits on Jan 24, 2010
  1. @josevalim
Commits on Jan 23, 2010
  1. @josevalim
Something went wrong with that request. Please try again.