Skip to content
Commits on Jun 27, 2011
  1. @josevalim
Commits on Jun 12, 2011
  1. @thoefer2

    Make sure to have a Hash under the i18n keys 'activerecord.attributes…

    thoefer2 committed Jun 12, 2011
    …' and 'activerecord.models' as this might not always be the case. See issue #1662.
Commits on Jun 11, 2011
  1. @josevalim
Commits on May 24, 2011
  1. @josevalim

    Everyone receives app as argument for consistency.

    josevalim committed May 25, 2011
Commits on May 4, 2011
  1. @josevalim

    Move sandbox to AR and pass the sandbox as a value. This way, other O…

    josevalim committed May 4, 2011
    …RMs like Datamapper can also have their own sandboxing in rails console.
  2. @josevalim
Commits on Apr 24, 2011
  1. @joshk

    added config.active_record.whitelist_attributes which creates an empt…

    joshk committed Apr 24, 2011
    …y whitelist of attributes available for mass assignment for all models in your app
Commits on Feb 15, 2011
  1. @miloops

    Merge remote branch 'rails/master' into identity_map

    miloops committed Feb 15, 2011
Commits on Feb 3, 2011
  1. @tenderlove
Commits on Dec 20, 2010
  1. @miloops

    Merge remote branch 'rails/master' into identity_map

    miloops committed Dec 20, 2010
  2. @josevalim

    Small changes on AD::Reloader.

    josevalim committed Dec 20, 2010
  3. @josevalim

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

    John Firebaugh committed with josevalim Dec 19, 2010
    Signed-off-by: José Valim <>
  4. @josevalim

    Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare

    John Firebaugh committed with josevalim Dec 19, 2010
    Signed-off-by: José Valim <>
Commits on Nov 19, 2010
  1. @miloops
  2. @miloops
  3. @miloops
  4. @miloops
Commits on Nov 2, 2010
  1. @drogus

    Use application's generators defaults as engine defaults to not force…

    drogus committed Oct 28, 2010
    … users to manually set it
Commits on Sep 30, 2010
  1. @drogus

    Added config.app_generators to allow configuring application's genera…

    drogus committed Sep 29, 2010
    …tors from railties.
    With config.generators becomes a way to configure generators
    for current instance only. For example:
    module Blog
      class Engine < Rails::Engine
        config.generators do |g|
          g.orm :active_record
        config.app_generators do |g|
          g.test_framework :rspec
    such definition sets :active_record as orm for engine and :rspec
    as test_framework for application. The values set with app_generators
    can be overwritten in application using config.generators as you would
    normally do:
    module MyApp
      class Application < Rails::Application
        config.generators do |g|
          g.test_framework :test_unit
Commits on Aug 21, 2010
  1. @jeremy

    Revert "Just add connection management middleware if running in a con…

    jeremy committed Aug 20, 2010
    …current environment."
    This reverts commit 6b29dc8.
Commits on Jul 18, 2010
  1. @josevalim

    Add console hook to force ActiveRecord::Base to be loaded when consol…

    josevalim committed Jul 17, 2010
    …e starts avoiding reference loops.
Commits on Jul 12, 2010
  1. @josevalim
Commits on Jun 24, 2010
  1. @josevalim

    Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing f…

    josevalim committed Jun 24, 2010
    …rameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
Commits on Jun 20, 2010
  1. @fxn

    Merge remote branch 'rails/master'

    fxn committed Jun 20, 2010
Commits on Jun 19, 2010
  1. @josevalim
Commits on Jun 16, 2010
  1. @rizwanreza
Commits on May 15, 2010
  1. @wycats

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

    wycats committed May 15, 2010
    …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
Commits on Apr 20, 2010
  1. @josevalim

    Move observers initialization to after_config blocks, they are still …

    josevalim committed Apr 20, 2010
    …being initialized to early (before load paths are being set).
Commits on Apr 15, 2010
  1. @NZKoz

    Split the observer railtie into two phases.

    NZKoz committed Apr 16, 2010
    Observers observing models with scopes defined will require the connection to be established.
Commits on Mar 30, 2010
  1. @wycats

    Replace the placeholder base_hook API with on_load. To specify some c…

    wycats committed Mar 29, 2010
    …ode that
    should run during framework load do:
    ActiveSupport.on_load(:action_controller) do
      # Code run in the context of AC::Base
Commits on Mar 26, 2010
  1. @josevalim

    Move application configuration to the application configuration objec…

    josevalim committed Mar 26, 2010
    …t, remove railtie_name and engine_name and allow to set the configuration object.
Commits on Mar 7, 2010
  1. @wycats

    Make many parts of Rails lazy. In order to facilitate this,

    wycats committed Mar 7, 2010
    add lazy_load_hooks.rb, which allows us to declare code that
    should be run at some later time. For instance, this allows
    us to defer requiring ActiveRecord::Base at boot time purely
    to apply configuration. Instead, we register a hook that should
    apply configuration once ActiveRecord::Base is loaded.
    With these changes, brings down total boot time of a
    new app to 300ms in production and 400ms in dev.
    TODO: rename base_hook
Commits on Feb 16, 2010
  1. @sikachu @josevalim
Commits on Feb 4, 2010
  1. @jeremy
Something went wrong with that request. Please try again.