Skip to content
This repository

Apr 13, 2010

  1. Andrew White

    Refactor compute_type to handle situations where the correct class is…

    … already loaded
    
    Signed-off-by: wycats <wycats@gmail.com>
    authored March 31, 2010 wycats committed April 12, 2010
  2. make ActiveRecord::Base.subclasses a public method

    Signed-off-by: wycats <wycats@gmail.com>
    authored August 28, 2009 wycats committed April 12, 2010

Apr 12, 2010

  1. Phil Smith

    table_name_prefix and table_name_suffix are class_attributes instead …

    …of cattr_accessors. [#4230]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored April 10, 2010 josevalim committed April 12, 2010

Apr 09, 2010

  1. Santiago Pastorino

    fix stack trace lines on class_eval

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

Apr 08, 2010

  1. Pratik

    Some doc updates reflecting the new query API

    authored April 08, 2010

Apr 05, 2010

  1. Xavier Noria

    moves Object#singleton_class to Kernel#singleton_class to match Ruby …

    …also there, same for #class_eval to simplify, and adds coverage for class_eval
    authored April 05, 2010

Apr 04, 2010

  1. Andrew White

    Update various documentation examples to use new routing DSL

    authored April 04, 2010

Mar 31, 2010

  1. Xavier Noria

    Merge commit 'rails/master'

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

  1. José Valim

    Fix dom_id for ActiveRecord [#4296 state:resolved]

    authored March 30, 2010
  2. Yehuda Katz

    Rename modularized_table_name_prefix to full_table_name_prefix [#4032

    …state:resolved]
    authored March 28, 2010
  3. Andrew White

    Add the ability to specify table_name_prefix on individual modules

    Signed-off-by: wycats <wycats@gmail.com>
    authored February 22, 2010 wycats committed March 28, 2010
  4. David Heinemeier Hansson

    Update example of default_scope to use the new arel finder syntax

    authored March 28, 2010

Mar 28, 2010

  1. Xavier Noria

    adds missing requires for Object#blank? and Object#present?

    authored March 28, 2010
  2. Xavier Noria

    adds missing requires for Object#duplicable?

    authored March 28, 2010
  3. Rizwan Reza

    Changes migration number to version due to ambiguity. [#3065 state:co…

    …mmitted]
    authored March 28, 2010

Mar 25, 2010

  1. Emilio Tagua

    Remove unused attributes_with_quotes method.

    authored March 23, 2010

Mar 17, 2010

  1. Jeremy Kemper

    Move require closer to home

    authored March 17, 2010
  2. Aaron Patterson

    fixing activerecord tests [#4205 state:resolved]

    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored March 17, 2010 jeremy committed March 17, 2010

Mar 16, 2010

  1. Aaron Patterson

    clean up more warnings, remove unnecessary methods, fix eval line num…

    …bers. [#4193 state:resolved]
    
    Signed-off-by: wycats <wycats@gmail.com>
    authored March 16, 2010 wycats committed March 16, 2010

Mar 15, 2010

  1. Aaron Patterson

    cleaning up many more warnings in activerecord [#4180 state:resolved]

    Signed-off-by: wycats <wycats@gmail.com>
    authored March 14, 2010 wycats committed March 15, 2010

Mar 14, 2010

  1. Aaron Patterson

    speeding up clone_attributes, changing readonly to be initialized in …

    …def initialize
    
    Signed-off-by: wycats <wycats@gmail.com>
    authored March 14, 2010 wycats committed March 14, 2010
  2. Aaron Patterson

    cleaning up some test warnings

    Signed-off-by: wycats <wycats@gmail.com>
    authored March 14, 2010 wycats committed March 14, 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
  2. Aaron Patterson

    converting inject to each and map

    [#4119 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored March 06, 2010 jeremy committed March 06, 2010

Feb 26, 2010

  1. fixed a 'RecordNotFound' bug when calling 'reload' on a object which …

    …doesn't met the default_scope conditions, added test [#3166 status:resolved]
    
    The reload method didn't made use of 'with_exclusive_scope' when reloading the object. This lead to a RecordNotFound exception, in case the object doesn't met the default_scope condition (anymore) - which is obviously a bug. This quick fix makes use of with_exclusive_scope in the reload method as well. See test for full example.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored September 08, 2009 josevalim committed February 26, 2010
  2. Henry Hsu

    Fix a bug where default_scope was overriding attributes given on mode…

    …l initialization [#3218 status:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    authored February 26, 2010 josevalim committed February 26, 2010

Feb 25, 2010

  1. Jeremy Kemper

    Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.

    authored February 25, 2010

Feb 21, 2010

  1. José Valim

    Require persisted? in ActiveModel::Lint and remove new_record? and de…

    …stroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
    authored February 21, 2010

Feb 16, 2010

  1. Prem Sichanugrist

    Rename Rails::Subscriber to Rails::LogSubscriber

    authored February 15, 2010 josevalim committed February 16, 2010

Feb 12, 2010

  1. Pratik

    Move batch finders to Relation

    authored February 12, 2010

Feb 04, 2010

  1. Subba Rao Pasupuleti

    removing , from ,= statement in WrappedDatabaseException constructor

    [#3830 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored January 31, 2010 jeremy committed February 03, 2010

Jan 23, 2010

  1. Pratik

    Make default_scope work with Relations

    authored January 23, 2010

Jan 21, 2010

  1. Pratik

    Revert "Refactoring attributes/types" [#3348 state:open]

    This reverts commit f936a1f.
    
    Conflicts:
    
    	activerecord/lib/active_record.rb
    	activerecord/lib/active_record/base.rb
    
    Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open]
    
    This reverts commit 2831996.
    
    Reason :
    
      It's not generating attribute methods properly, making object.column 5x slower.
    authored January 22, 2010

Jan 20, 2010

  1. Pratik

    Cache quoted_table_name

    authored January 21, 2010
Something went wrong with that request. Please try again.