Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 18, 2005
  1. @dhh

    Updated documentation here and there

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

    Dont prefix on updates and deletes, only selects

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

    Honor the order in the new finder

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

    More eager fixes

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

    Made eager loading work even more

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

    Added that model.items.delete(child) will delete the child, not just …

    dhh authored
    …set the foreign key to nil, if the child is dependent on the model #978 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 6, 2005
  1. @dhh

    Fixed that HasManyAssociation#count was using :finder_sql rather than…

    dhh authored
    … :counter_sql if it was available #445 [Scott Barron]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 28, 2005
  1. @dhh

    Fixed that association#count would produce invalid sql when called se…

    dhh authored
    …quentialy #659 [kanis@comcard.de]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 25, 2005
  1. @dhh

    Added the option of supplying an array of ids and attributes to Base#…

    dhh authored
    …update, so that multiple records can be updated at once (inspired by #526/Duane Johnson). Added the option of supplying an array of attributes to Base#create, so that multiple records can be created at once. Added that Base#delete and Base#destroy both can take an array of ids to delete/destroy #336. Added that has_many association build and create methods can take arrays of record data like Base#create and Base#build to build/create multiple records at once.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 20, 2005
  1. @dhh

    Fixed that find_all would produce invalid sql when called sequentialy #…

    dhh authored
    …490 [Scott Baron]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@464 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 3, 2005
  1. @dhh

    Fixed the last details to please DB2

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 2, 2005
  1. @dhh
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 options[:counter_sql] was overwritten with interpolated sq…

    dhh authored
    …l rather than original sql #355 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@248 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
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.