Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 27, 2009
  1. @dhh
Commits on Dec 5, 2007
  1. @dhh

    Fixed that habtm associations should be able to set :select as part o…

    dhh authored
    …f their definition and have that honored [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 28, 2007
  1. @dhh

    Fixed spelling errors (closes #9706) [tarmo/rmm5t]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 24, 2007
  1. @dhh

    Refactored in use of extract_options! (closes #9079) [josh]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 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 Apr 1, 2006
  1. @dhh

    Fixed that records returned from has_and_belongs_to_many associations…

    dhh authored
    … with additional attributes should be marked as read only (fixes #4512) [DHH] DEPRECATED: Using additional attributes on has_and_belongs_to_many associations. Instead upgrade your association to be a real join model [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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 Nov 6, 2005
  1. @dhh
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 Sep 13, 2005
  1. @dhh

    Fixed various problems with has_and_belongs_to_many when using custom…

    dhh authored
    …er finder_sql #2094 [Florian Weber]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 11, 2005
  1. @dhh

    Use the inflector rules made for the purpose

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 22, 2005
  1. @dhh

    Dont be ambigious about the condition key

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @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 Jul 17, 2005
  1. @dhh

    Fixed incompatibility in DB2 adapter with the new limit/offset approach

    dhh authored
    #1718 [Maik Schmidt]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 5, 2005
  1. @dhh

    Added callbacks on push_with_attributes #1594 [Florian Weber]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 3, 2005
  1. @dhh

    Fixed that has_and_belongs_to_many didn't respect single table inheri…

    dhh authored
    …tance types #1081 [Florian Weber]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 18, 2005
  1. @dhh

    Fixed that adding a record to a has_and_belongs_to collection would a…

    dhh authored
    …lways save it -- now it only saves if its a new record #1203 [Alisdair McDiarmid]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 19, 2005
  1. @dhh

    Fixed that :delete_sql in has_and_belongs_to_many associations couldn…

    dhh authored
    …'t access record properties #1299 [Rick Olson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 14, 2005
  1. @dhh

    Order by is no longer a guarentee

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 13, 2005
  1. @dhh
  2. @dhh

    Removed the default order by id on has_and_belongs_to_many queries as…

    dhh authored
    … it could kill performance on large sets (you can still specify by hand with :order)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 11, 2005
  1. @dhh

    No conditions relevant here

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 22, 2005
  1. @dhh

    Optimized the SQL used to generate has_and_belongs_to_many queries by…

    dhh authored
    … listing the join table first #693 [yerejm]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 24, 2005
  1. @dhh

    Added that has_and_belongs_to_many associations with additional attri…

    dhh authored
    …butes also can be created between unsaved objects and only committed to the database when Base#save is called on the associator #524 [Eric Anderson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 15, 2005
  1. @dhh

    Added support for associating unsaved objects #402 [Tim Bates]

    dhh authored
    Added replace to associations, so you can do project.manager.replace(new_manager) or project.milestones.replace(new_milestones) #402 [Tim Bates]
    Added build and create methods to has_one and belongs_to associations, so you can now do project.manager.build(attributes) #402 [Tim Bates]
    Fixed that Base#== wouldn't work for multiple references to the same unsaved object #402 [Tim Bates]
    Added that if a before_* callback returns false, all the later callbacks and the associated action are cancelled. If an after_* callback returns false, all the later callbacks are cancelled. Callbacks are generally run in the order they are defined, with the exception of callbacks defined as methods on the model, which are called last. #402 [Tim Bates]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 7, 2005
  1. @dhh

    Fixed that conditions in has_many and has_and_belongs_to_many should …

    dhh authored
    …be interpolated just like the finder_sql is
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 1, 2005
  1. @dhh

    Added that Base#find takes an optional options hash, including :condi…

    dhh authored
    …tions. Base#find_on_conditions deprecated in favor of #find with :conditions #407 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 22, 2004
  1. @dhh

    Fixed that Base.table_name would expect a parameter when used in has_…

    dhh authored
    …and_belongs_to_many joins [Anna Lissa Cruz]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 14, 2004
  1. @dhh

    Fixed that has_and_belongs_to_many would generate bad sql when naming…

    dhh authored
    … conventions differed from using vanilla "id" everywhere [RedTerror]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Dec 7, 2004
  1. @dhh

    Fixed value quoting in all generated SQL statements, so that integers…

    dhh authored
    … are not surrounded in quotes and that all sanitation are happening through the database's own quoting routine. This should hopefully make it lots easier for new adapters that doesn't accept '1' for integer columns.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@70 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Fixed has_and_belongs_to_many guessing of foreign key so that keys ar…

    dhh authored
    …e generated correctly for models like SomeVerySpecialClient [Florian Weber]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@69 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 30, 2004
  1. @dhh

    Silence errors occurring when reloading classes

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@27 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Nov 24, 2004
  1. @dhh

    Initial

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.