diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-31 12:09:08 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-31 12:09:09 -0200 |
commit | 31fce0192ee83ee13e2b17fdeefa712227019e49 (patch) | |
tree | cc2be72c07b0d52978952ec87d78deb5f075929c /railties/lib/rails/generators/actions.rb | |
parent | 0d5f7dac3dbbd788763e3b6fffce40dfc7a3ba84 (diff) | |
download | rails-31fce0192ee83ee13e2b17fdeefa712227019e49.tar.gz rails-31fce0192ee83ee13e2b17fdeefa712227019e49.tar.bz2 rails-31fce0192ee83ee13e2b17fdeefa712227019e49.zip |
Improve readonly examples and optimistic locking docs
* Relation#order can receive order attributes as different arguments,
add example;
* Readonly does not handle deletion of records, only modification;
* locking_version column does not need to default to 0, Rails handles
nil values;
* Change references from "set_locking_column" to "self.locking_column".
Diffstat (limited to 'railties/lib/rails/generators/actions.rb')
0 files changed, 0 insertions, 0 deletions