aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/core_ext/hash.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-25 12:45:01 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-25 12:45:01 +0000
commitefa81dad5158eb61243d00811e4664248dd2c167 (patch)
tree161e540cd3382f82afd867e5d1a876619ad61b2f /activesupport/lib/core_ext/hash.rb
parent256b594a03f184e63c4682a427a1982cbf99f6fa (diff)
downloadrails-efa81dad5158eb61243d00811e4664248dd2c167.tar.gz
rails-efa81dad5158eb61243d00811e4664248dd2c167.tar.bz2
rails-efa81dad5158eb61243d00811e4664248dd2c167.zip
Added the option of supplying an array of ids and attributes to Base#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
Diffstat (limited to 'activesupport/lib/core_ext/hash.rb')
0 files changed, 0 insertions, 0 deletions