Skip to content
This repository

Oct 20, 2005

  1. Jeremy Kemper

    HABTM finder sets :readonly => false. Closes #2525.

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored October 20, 2005

Oct 18, 2005

  1. Jeremy Kemper

    Parenthesize :conditions

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored October 18, 2005

Oct 14, 2005

  1. DRYed up Associations#clear. Closes #1906 [Caleb]

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored October 14, 2005

Sep 13, 2005

  1. David Heinemeier Hansson

    Fixed various problems with has_and_belongs_to_many when using custom…

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

Sep 11, 2005

  1. David Heinemeier Hansson

    Use the inflector rules made for the purpose

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored September 11, 2005

Jul 22, 2005

  1. David Heinemeier Hansson

    Dont be ambigious about the condition key

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored July 22, 2005
  2. David Heinemeier Hansson

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

    …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
    authored July 22, 2005

Jul 18, 2005

  1. Jamis Buck

    Allow unspecified join-table columns to use to their default values w…

    …hen adding to a habtm collection
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored July 18, 2005

Jul 17, 2005

  1. David Heinemeier Hansson

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

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

Jul 05, 2005

  1. David Heinemeier Hansson

    Added callbacks on push_with_attributes #1594 [Florian Weber]

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored July 05, 2005

Jul 03, 2005

  1. David Heinemeier Hansson

    Fixed that has_and_belongs_to_many didn't respect single table inheri…

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

Jun 18, 2005

  1. David Heinemeier Hansson

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

    …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
    authored June 18, 2005

Jun 13, 2005

  1. Jeremy Kemper

    r1307@iwill: jeremy | 2005-06-13 19:05:00 -0700

     Ticket 1312 - Malformed habtm finder sql
     r1308@iwill:  jeremy | 2005-06-13 19:58:48 -0700
     Add a habtm with an unquoted condition to Project.
     r1309@iwill:  jeremy | 2005-06-13 19:59:46 -0700
     Space out habtm finder conditions.
     r1310@iwill:  jeremy | 2005-06-13 20:00:16 -0700
     Test habtm.find with quoted and unquoted conditions.
     r1311@iwill:  jeremy | 2005-06-13 20:00:25 -0700
     Update changelog
    
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored June 13, 2005

May 19, 2005

  1. David Heinemeier Hansson

    Fixed that :delete_sql in has_and_belongs_to_many associations couldn…

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

Apr 14, 2005

  1. David Heinemeier Hansson

    Order by is no longer a guarentee

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored April 14, 2005

Apr 13, 2005

  1. David Heinemeier Hansson

    Qualify the ids used such that eager loading can avoid ambigious keys

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored April 13, 2005
  2. David Heinemeier Hansson

    Removed the default order by id on has_and_belongs_to_many queries as…

    … 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
    authored April 13, 2005

Apr 11, 2005

  1. David Heinemeier Hansson

    No conditions relevant here

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored April 11, 2005

Feb 22, 2005

  1. David Heinemeier Hansson

    Optimized the SQL used to generate has_and_belongs_to_many queries by…

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

Jan 24, 2005

  1. David Heinemeier Hansson

    Added that has_and_belongs_to_many associations with additional attri…

    …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
    authored January 24, 2005

Jan 15, 2005

  1. David Heinemeier Hansson

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

    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
    authored January 15, 2005

Jan 07, 2005

  1. David Heinemeier Hansson

    Fixed that conditions in has_many and has_and_belongs_to_many should …

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

Jan 01, 2005

  1. David Heinemeier Hansson

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

    …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
    authored January 01, 2005

Dec 22, 2004

  1. David Heinemeier Hansson

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

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

Dec 14, 2004

  1. David Heinemeier Hansson

    Fixed that has_and_belongs_to_many would generate bad sql when naming…

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

Dec 07, 2004

  1. David Heinemeier Hansson

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

    … 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
    authored December 07, 2004
  2. David Heinemeier Hansson

    Fixed has_and_belongs_to_many guessing of foreign key so that keys ar…

    …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
    authored December 07, 2004

Nov 30, 2004

  1. David Heinemeier Hansson

    Silence errors occurring when reloading classes

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@27 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
    authored November 30, 2004

Nov 24, 2004

  1. David Heinemeier Hansson

    Initial

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