Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 24, 2006
  1. @jamis
Commits on Oct 8, 2006
  1. @jeremy
Commits on Sep 26, 2006
  1. @jeremy

    Deprecation: count class method should be called with an options hash…

    jeremy authored
    … rather than two args for conditions and joins. Closes #6287.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 15, 2006
  1. @jeremy

    Deprecation tests. Remove warnings for dynamic finders and for the fo…

    jeremy authored
    …o_count ethod if it's also an attribute.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 5, 2006
  1. @dhh

    Backed out of new_record? to new? transformation as it would screw up…

    dhh authored
    … existing models that did boolean calls on "new" attributes [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::B…

    dhh authored
    …ase.new? (old version still works until Rails 2.0) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 4, 2006
  1. @NZKoz
Commits on Jul 24, 2006
  1. @technoweenie
Commits on Jun 3, 2006
  1. @dhh

    Fixed that has_many.create ended up with duplicate objects (closes #5250

    dhh authored
    ) [daniel@nouvelles-solutions.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 21, 2006
  1. @dhh

    Minor style tweaks

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Fixed that has_many collections shouldn't load the entire association…

    dhh authored
    … to do build or create [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 6, 2006
  1. @jeremy
Commits on Apr 19, 2006
  1. @technoweenie

    Fix the HasManyAssociation#count method so it uses the new ActiveReco…

    technoweenie authored
    …rd::Base#count syntax, while maintaining backwards compatibility. [Rick]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 6, 2006
  1. @dhh

    Fix HasManyAssociation#find bugs when :finder_sql is set (closes #4600)…

    dhh authored
    … [lagroue@free.fr]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 16, 2006
  1. @technoweenie
  2. @technoweenie

    Added Base.abstract_class? that marks which classes are not part of t…

    technoweenie authored
    …he Active Record hierarchy. closes #3704
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 12, 2006
  1. @dhh

    save polymorphic joins from the has_many|one association (closes #3812)…

    dhh authored
    … [Rick Olson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 3, 2006
  1. @dhh

    Using AssociationCollection#build with arrays of hashes should call b…

    dhh authored
    …uild, not create [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 21, 2006
  1. @NZKoz
Commits on Dec 13, 2005
  1. @dhh

    Added option inheritance for find calls on has_and_belongs_to_many an…

    dhh authored
    …d has_many assosociations [DHH] Added option to specify :group, :limit, :offset, and :select options from find on has_and_belongs_to_many and has_many assosociations [DHH]
    
    Added form_remote_for (form_for meets form_remote_tag) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 3, 2005
  1. @dhh

    Added preliminary support for join models [DHH] Added preliminary sup…

    dhh authored
    …port for polymorphic associations [DHH] Refactored associations to use reflections to get DRYer, beware, major refactoring -- double check before deploying anything with this (all tests pass, but..)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 2, 2005
  1. @dhh

    Work-in progress for providing better join model support and polymorp…

    dhh authored
    …hic associations
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 10, 2005
  1. @jeremy

    Add :group option, correspond to GROUP BY, to the find method and to …

    jeremy authored
    …the has_many association. Closes #2818.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 6, 2005
  1. @dhh
  2. @jeremy

    r2915@asus: jeremy | 2005-11-06 05:02:53 -0800

    jeremy authored
     Rename Base.constrain to Base.with_scope so it doesn't conflict with existing concept of database constraints.  Make scoping more robust: uniform method => parameters, validated method names and supported finder parameters, raise exception on nested scopes.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 4, 2005
  1. @dhh

    Added extension capabilities to has_many and has_and_belongs_to_many …

    dhh authored
    …proxies [DHH] Added find_or_create_by_X as a second type of dynamic finder that'll create the record if it doesn't already exist [DHH] Added constrain scoping for creates using a hash of attributes bound to the :creation key [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 18, 2005
  1. @jeremy

    Parenthesize :conditions

    jeremy authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 14, 2005
  1. DRYed up Associations#clear. Closes #1906 [Caleb]

    Tobias Lütke authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 28, 2005
  1. @jeremy

    r3653@asus: jeremy | 2005-09-28 00:23:49 -0700

    jeremy authored
     Ticket 2221 - model.association.clear should destroy associated objects if :dependent => true instead of nullifying their foreign keys
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 24, 2005
  1. @jamis
Commits on Jul 22, 2005
  1. @dhh

    Added support for calling constrained class methods on has_many and h…

    dhh authored
    …as_and_belongs_to_many collections #1764 [Tobias Luetke]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 24, 2005
  1. @jeremy

    Pass association finder arguments through to the association class ex…

    jeremy authored
    …actly as we received them. Fixes case where parent.children.find() is interpreted as Child.find([]) instead of Child.find().
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 13, 2005
  1. @jamis

    Be sure to use the @finder_sql in the has_many association's #find me…

    jamis authored
    …thod, even if explicit conditions have not been given.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @jeremy

    r1294@iwill: jeremy | 2005-06-13 02:17:42 -0700

    jeremy authored
     Ticket #1281
     r1295@iwill:  jeremy | 2005-06-13 02:50:50 -0700
     Apply patch, tweak, and test.
     r1296@iwill:  jeremy | 2005-06-13 02:51:04 -0700
     Changelog entry.
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 23, 2005
  1. @dhh

    Optimize counting of has_many associations by setting the association…

    dhh authored
    … to empty if the count is 0
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.