diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-10-01 19:15:51 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-10-01 19:15:51 +0000 |
commit | 0092d0ac6de041995d6f4555c6e52590799cbefb (patch) | |
tree | ee9c20184991e1226c79430c9527fa9086ad9757 /activerecord/test/all.sh | |
parent | f1d1f01b6d792b6e02bde2b5d73f833edc65d211 (diff) | |
download | rails-0092d0ac6de041995d6f4555c6e52590799cbefb.tar.gz rails-0092d0ac6de041995d6f4555c6e52590799cbefb.tar.bz2 rails-0092d0ac6de041995d6f4555c6e52590799cbefb.zip |
Association collections have an _ids reader method to match the existing writer for collection_select convenience (e.g. employee.task_ids). The writer method skips blank ids so you can safely do @employee.task_ids = params[:tasks] without checking every time for an empty list or blank values. References #1887, Closes #5780.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/all.sh')
0 files changed, 0 insertions, 0 deletions