Skip to content
This repository

Mar 28, 2011

  1. Jeremy Kemper

    Cheaper attribute reads and respond_to?. Add underscore-prefixed meth…

    …od aliased to the attribute name so it can be overridden but still called internally.
    authored August 30, 2010 tenderlove committed March 28, 2011

Dec 02, 2010

  1. Michael Koziarski

    Work around a strange piece of Syck behaviour where it checks Model#r…

    …espond_to? before initializing the object.
    
    Things like YAML.load(YAML.dump(@post)) won't work without this.
    authored December 02, 2010

Jun 15, 2010

  1. Rizwan Reza

    Adds title and basic description where needed.

    authored June 15, 2010

May 08, 2010

  1. Yehuda Katz

    eliminate alias_method_chain from ActiveRecord

    authored May 09, 2010

Nov 14, 2009

  1. Jeremy Kemper

    No need to check for generated method, just redispatch

    authored November 14, 2009

Aug 05, 2009

  1. Joshua Peek

    Extract generic attribute method generation to AMo

    authored August 04, 2009

Aug 04, 2009

  1. Joshua Peek

    whitespace

    authored August 04, 2009
  2. Paul Gillard

    Modified ActiveRecord::AttributeMethods to allow classes to specify a…

    …ttribute method prefixes and/or suffixes. Previously only suffixes were allowed.
    
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
    authored August 04, 2009 josh committed August 04, 2009

Aug 03, 2009

  1. Joshua Peek

    Track generated attribute methods in a separate module

    authored August 02, 2009

Jul 30, 2009

  1. Joshua Peek

    Start separating primary key concerns

    authored July 30, 2009
  2. Joshua Peek

    Make sure we use send for the default attribute method body because t…

    …he suffix maybe an invalid method name
    authored July 30, 2009
  3. Joshua Peek

    Make sure to reset defined methods after calling attribute_method_suffix

    authored July 30, 2009
  4. Joshua Peek

    Move attribute_types_cached_by_default into attribute methods reading…

    … concern
    authored July 30, 2009
  5. Joshua Peek

    Don't need to pass attr_name to evaluate_attribute_method anymore

    authored July 30, 2009
  6. Joshua Peek

    Undefine id and let it automatically be generated

    authored July 30, 2009
  7. Joshua Peek

    Redirect method missing for primary key to read_attribute

    authored July 30, 2009
  8. Joshua Peek

    ditto for id=

    authored July 30, 2009
  9. Joshua Peek

    Don't define id_before_type_cast, just let it be generated on its own

    authored July 30, 2009
  10. Joshua Peek

    Restore DangerousAttributeError

    authored July 30, 2009
  11. Joshua Peek

    Wrap up attribute method reset concerns in 'undefine_attribute_methods'

    authored July 29, 2009
  12. Joshua Peek

    read_attribute is always available through attribute

    authored July 29, 2009
  13. Joshua Peek

    cache_attributes is related to attribute reading

    authored July 29, 2009
  14. Joshua Peek

    Generate methods for all suffixes

    authored July 28, 2009
  15. Joshua Peek

    Concernify AR AttributeMethods

    authored July 24, 2009

Jul 09, 2009

  1. Sam Goldstein

    Make it so AR attributes which conflict with object-private methods (…

    …e.g. system) don't 'randomly' cause NoMethodErrors
    
    Previously if you called this attribute before others, you'd get exceptions.  But if it was the second-or-subsequent attribute you retrieved you'd get the correct behaviour.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#2808 state:committed]
    authored July 08, 2009 NZKoz committed July 09, 2009

May 28, 2009

  1. Joshua Peek

    Break up DependencyModule's dual function of providing a "depend_on" …

    …DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
    authored May 28, 2009

May 15, 2009

  1. Merge commit 'origin/master'

    Conflicts:
    	actionpack/lib/action_controller/abstract/base.rb
    	actionpack/lib/action_controller/routing.rb
    authored May 14, 2009

May 13, 2009

  1. Jeremy Kemper

    Cherry-pick core extensions

    authored May 13, 2009

May 12, 2009

  1. Bryan Helmkamp

    Use DependencyModule for included hooks in ActiveRecord

    authored May 11, 2009

Feb 06, 2009

  1. Max Lapshin

    Support true/false in query_attribute for calculated columns

    Signed-off-by: Tarmo Tänav <tarmo@itech.ee>
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    authored January 14, 2009 NZKoz committed February 06, 2009

Oct 25, 2008

  1. Mike Gunderloy

    "raise NoMethodError" raises NoMethodError. Raise it with NoMethodErr…

    …or.new instead.
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
    authored October 25, 2008 lifo committed October 25, 2008

Oct 04, 2008

  1. Aliaksey Kandratsenka (aka Aliaksei Kandratsenka)

    Fix performance bug in AttibuteMethods#respond_to? in handling of pri…

    …vate methods
    
    We have hit dramatic increase in tests time after upgrading rails.
    Profiling revealed this particular place. After this fix our test times returned
    back to norm.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1173 state:committed]
    authored October 03, 2008 NZKoz committed October 04, 2008

Sep 24, 2008

  1. Changed ActiveRecord attributes to respect access control.

    Signed-off-by: Michael Koziarski <michael@koziarski.com>
    [#1084 state:committed]
    authored September 21, 2008 NZKoz committed September 24, 2008

Sep 14, 2008

  1. Emilio Tagua

    Base.skip_time_zone_conversion_for_attributes uses class_inheritable_…

    …accessor, so that subclasses don't overwrite Base [#346 state:resolved]
    authored September 12, 2008 gbuesing committed September 14, 2008

Sep 02, 2008

  1. Clemens Kofler

    Some performance goodness for AR.

    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
    authored September 02, 2008 jeremy committed September 03, 2008
Something went wrong with that request. Please try again.