Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 20, 2005
  1. @dhh

    Added adapter independent limit clause as a two-element array with th…

    dhh authored
    …e first being the limit, the second being the offset #795 [Sam Stephenson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added alias_method :to_param, :id to Base, such that Active Record ob…

    dhh authored
    …jects to be used as URL parameters in Action Pack automatically #812 [Nicholas Seckar/Sam Stephenson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  3. @dhh

    Added type conversion before saving a record, so string-based values …

    dhh authored
    …like "10.0" arent left for the database to convert #820 [dave@cherryville.org]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 17, 2005
  1. @dhh

    Added Base.exists?(id) that'll return true if an object of the class …

    dhh authored
    …with the given id exists #854 [stian@grytoyr.net]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 14, 2005
  1. @dhh

    Doc fix #805

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

    Fixed that symbols can be used on attribute assignment, like page.ema…

    dhh authored
    …ils.create(:subject => data.subject, :body => data.body)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 6, 2005
  1. @dhh

    Added ActiveRecord::Base.colorize_logging to control whether to use c…

    dhh authored
    …olors in logs or not (on by default)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added MultiparameterAssignmentErrors and AttributeAssignmentError exc…

    dhh authored
    …eptions #777 [demetrius]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  3. @dhh

    Fixed rails_generator to be usable without RubyGems #686 [Cristi BALA…

    dhh authored
    …N]. Moved all active support dependencies into active support
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 23, 2005
  1. @dhh

    Finished polishing API docs

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@773 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 Feb 19, 2005
  1. @dhh

    Fixed that find_by_* would fail when column names had numbers #670 [d…

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

    Fixed that the dynamic finder like find_all_by_something_boolean(fals…

    dhh authored
    …e) didn't work #649 [lmarlow@yahoo.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 17, 2005
  1. @dhh

    Fixed the verbosity of using the AR store

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

    Moved Active Support into its own gem

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

    Small indent

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

    Added keyword-style approach to defining the custom relational bindings

    dhh authored
    #545 [Jamis Buck]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Fixed documentation snafus #575, #576, #577, #585

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

    Updated documentation for serialize

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

    Added Base.update_collection that can update an array of id/attribute…

    dhh authored
    … pairs, such as the ones produced by the recent added support for automatic id-based indexing for lists of items #526 [Duane Johnson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added that update_all calls sanitize_sql on its updates argument, so …

    dhh authored
    …stuff like MyRecord.update_all(['time = ?', Time.now]) works #519 [notahat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  3. @dhh

    Fixed that the dynamic finders didnt treat nil as a "IS NULL" but rat…

    dhh authored
    …her "= NULL" case #515 [Demetrius]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  4. @dhh

    Added bind-named arrays for interpolating a group of ids or strings i…

    dhh authored
    …n conditions #528 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  5. @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
  6. @dhh

    Fixed that records fetched with piggy-back attributes or through rich…

    dhh authored
    … has_and_belongs_to_many associations couldn't be saved due to the extra attributes not part of the table #522 [Eric Anderson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 23, 2005
  1. @dhh

    Added mass-assignment protection for the inheritance column -- regard…

    dhh authored
    …less of a custom column is used or not
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Fixed that association proxies would fail === tests like PremiumSubsc…

    dhh authored
    …ription === @account.subscription
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 20, 2005
  1. @dhh

    Replaced === checks with is_a? checks #502, #82 [Marcel Molina]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 17, 2005
  1. @dhh
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 13, 2005
  1. @dhh
Commits on Jan 11, 2005
  1. @dhh

    Added Base#attributes that returns a hash of all the attributes with …

    dhh authored
    …their names as keys and clones of their objects as values #433 [atyp.de]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 10, 2005
  1. @dhh

    Added Base#reload that reloads the attributes of an object from the d…

    dhh authored
    …atabase #422 [Andreas Schwarz]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.