Skip to content
This repository

Jun 27, 2011

  1. José Valim

    Skip if it is actually a pluralize scheme.

    authored June 27, 2011

Jun 12, 2011

  1. thoefer2

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

    …' and 'activerecord.models' as this might not always be the case. See issue #1662.
    authored June 12, 2011

Jun 11, 2011

  1. José Valim

    Add a deprecation for nested i18n namespace lookup.

    authored June 11, 2011

May 24, 2011

  1. José Valim

    Everyone receives app as argument for consistency.

    Conflicts:
    
    	railties/lib/rails/application.rb
    authored May 25, 2011

May 04, 2011

  1. José Valim

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

    …RMs like Datamapper can also have their own sandboxing in rails console.
    authored May 04, 2011
  2. José Valim

    Remove defined?(ActiveRecord) and use the railtie hook instead.

Apr 24, 2011

  1. Josh Kalderimis

    added config.active_record.whitelist_attributes which creates an empt…

    …y whitelist of attributes available for mass assignment for all models in your app
    authored April 24, 2011

Feb 15, 2011

  1. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/examples/performance.rb
    	activerecord/lib/active_record/association_preload.rb
    	activerecord/lib/active_record/associations.rb
    	activerecord/lib/active_record/associations/association_proxy.rb
    	activerecord/lib/active_record/autosave_association.rb
    	activerecord/lib/active_record/base.rb
    	activerecord/lib/active_record/nested_attributes.rb
    	activerecord/test/cases/relations_test.rb
    authored February 15, 2011

Feb 03, 2011

  1. Aaron Patterson

    allow AR caches to be cleared, clear them on class reloading

    authored February 03, 2011

Dec 20, 2010

  1. Emilio Tagua

    Merge remote branch 'rails/master' into identity_map

    Conflicts:
    	activerecord/lib/active_record/associations/association_proxy.rb
    	activerecord/lib/active_record/autosave_association.rb
    	activerecord/lib/active_record/base.rb
    	activerecord/lib/active_record/persistence.rb
    authored December 20, 2010
  2. José Valim

    Small changes on AD::Reloader.

    authored December 20, 2010
  3. Use AD::Reloader.to_cleanup for reloading [#2873 state:resolved]

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored December 19, 2010 josevalim committed December 20, 2010
  4. Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare

    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored December 19, 2010 josevalim committed December 20, 2010

Nov 19, 2010

  1. Emilio Tagua

    "there is no need to store this option just for initialization" José …

    …Valim dixit.
    authored November 18, 2010
  2. Emilio Tagua

    Read from config, because AR may not be loaded yet.

    authored November 10, 2010
  3. Emilio Tagua

    Don't load IdentityMap middleware if not enabled. Simplify middleware.

    authored October 15, 2010
  4. Emilio Tagua

    Use IdentityMap middleware to flush map on each request.

    authored October 14, 2010

Nov 02, 2010

  1. Piotr Sarnacki

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

    … users to manually set it
    authored October 28, 2010

Sep 30, 2010

  1. Piotr Sarnacki

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

    …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
        end
    
        config.app_generators do |g|
          g.test_framework :rspec
        end
      end
    end
    
    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
        end
      end
    end
    authored September 29, 2010

Aug 21, 2010

  1. Jeremy Kemper

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

    …current environment."
    
    This reverts commit 6b29dc8.
    authored August 20, 2010

Jul 18, 2010

  1. José Valim

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

    …e starts avoiding reference loops.
    authored July 17, 2010

Jul 12, 2010

  1. José Valim

    Just add connection management middleware if running in a concurrent …

    …environment.
    authored July 12, 2010

Jun 24, 2010

  1. José Valim

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

    …rameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved]
    authored June 24, 2010

Jun 20, 2010

  1. Xavier Noria

    Merge remote branch 'rails/master'

    Conflicts:
    	actionpack/lib/abstract_controller/base.rb
    authored June 20, 2010

Jun 19, 2010

  1. José Valim

    Clear DescendantsTracker on each request.

    authored June 19, 2010

Jun 16, 2010

  1. Rizwan Reza

    Adds basic description and title.

    authored June 16, 2010

May 15, 2010

  1. Yehuda Katz

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

    …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
      config/environments/{development,production,test}.rb)
    * 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.
    authored May 15, 2010

Apr 29, 2010

  1. José Valim

    ActiveRecord middlewares should be inserted before AD::Cascade [#4493

    …state:resolved].
    authored April 29, 2010

Apr 20, 2010

  1. José Valim

    Move observers initialization to after_config blocks, they are still …

    …being initialized to early (before load paths are being set).
    authored April 20, 2010

Apr 15, 2010

  1. Michael Koziarski

    Split the observer railtie into two phases.

    Observers observing models with scopes defined will require the connection to be established.
    authored April 16, 2010

Mar 30, 2010

  1. Yehuda Katz

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

    …ode that
    
    should run during framework load do:
    
    ActiveSupport.on_load(:action_controller) do
      # Code run in the context of AC::Base
    end
    authored March 29, 2010

Mar 26, 2010

  1. José Valim

    Move application configuration to the application configuration objec…

    …t, remove railtie_name and engine_name and allow to set the configuration object.
    authored March 26, 2010

Mar 07, 2010

  1. Yehuda Katz

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

    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
    authored March 07, 2010

Feb 16, 2010

  1. Prem Sichanugrist

    Rename Rails::Subscriber to Rails::LogSubscriber

    authored February 15, 2010 josevalim committed February 16, 2010

Feb 04, 2010

  1. Jeremy Kemper

    Rationalize railtie dependencies: AC uses AV; AR uses AMo; and Rails …

    …always uses AS.
    authored February 04, 2010
Something went wrong with that request. Please try again.