Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 17, 2005
  1. @dhh

    Made ready for release of 0.9.4

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

    Make sure #470 shouldnt be happening

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

    Added test_forgetting_the_load_when_foreign_key_enters_late

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

    Test for #489

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

    belongs_to association should always honor a present foreign key and …

    dhh authored
    …condition interpolation should also be possible on belongs_to
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 16, 2005
  1. @dhh

    New adventures in dependency reloading

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

    Fixed that unit tests for MySQL are now run as the "rails" user inste…

    dhh authored
    …ad of root #455 [Eric Hodel]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  3. @dhh

    Added validates_associated that enables validation of objects in an u…

    dhh authored
    …nsaved association #398 [Tim Bates]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  4. @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
  5. @dhh

    Added a bit more documentation on how to use the instance methods for…

    dhh authored
    … acts_as_list #478
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  6. @dhh

    Fixed binary support for PostgreSQL #444 [alex@byzantine.no]

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

    Changed add_to_list_top and add_to_list_bottom to be public

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

    Remove length alias of size

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

    Added a differenciation between AssociationCollection#size and -lengt…

    dhh authored
    …h. Now AssociationCollection#size returns the size of the collection by executing a SELECT COUNT(*) query if the collection hasn't been loaded and calling collection.size if it has. If it's more likely than not that the collection does have a size larger than zero and you need to fetch that collection afterwards, it'll take one less SELECT query if you use length.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  3. @dhh

    Fixed the 4.11 changes to the mysql adapter

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

    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@388 5ecf4fe…

    dhh authored
    …2-1ee6-0310-87b1-e25e094e27de
  5. @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
  6. @dhh

    Fixed that foreign keys named the same as the association would cause…

    dhh authored
    … stack overflow #437 [Eric Anderson]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  7. @dhh

    Fixed default scope of acts_as_list from "1" to "1 = 1", so itll work…

    dhh authored
    … in PostgreSQL (among other places) #427 [Alexey]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@380 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
  2. @dhh

    Added SQLite3 compatibility through the sqlite3-ruby adapter by Jamis…

    dhh authored
    … Buck #381 [bitsweat]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  3. @dhh

    Added support for the new protocol spoken by MySQL 4.1.1+ servers for…

    dhh authored
    … the Ruby/MySQL adapter that ships with Rails #440 [Matt Mower]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  4. @dhh

    Some missing docs

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

    Added that Observers can use the observes class method instead of ove…

    dhh authored
    …rwriting self.observed_class()
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  6. @dhh

    Added time unit extensions to Fixnum that'll return the period in sec…

    dhh authored
    …onds, like 2.days + 4.hours
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  7. @dhh
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 6, 2005
  1. @dhh

    Fixed Base#update_attribute to be indifferent to whether a string or …

    dhh authored
    …symbol is used to describe the name
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added Base#toggle(attribute) and Base#toggle!(attribute) that makes i…

    dhh authored
    …t easier to flip a switch or flag. Added Base#increment!(attribute) and Base#decrement!(attribute) that also saves the records. Added Base#increment(attribute) and Base#decrement(attribute) that encapsulates the += 1 and -= 1 patterns.
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jan 4, 2005
  1. @dhh

    Prepared for release of 0.9.3

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

    Minor tweak for readability

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