aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/examples/simple.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-11 09:41:08 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-18 08:12:59 +0900
commit9ac7dd47c5e847f7dbfb8d527ee2b917fa9fcd38 (patch)
tree272f5872138b5dbc41ffd7ea641e3c8721aad4dc /activerecord/examples/simple.rb
parent4bb4824ae711b7b550e8e33b428110575adaefac (diff)
downloadrails-9ac7dd47c5e847f7dbfb8d527ee2b917fa9fcd38.tar.gz
rails-9ac7dd47c5e847f7dbfb8d527ee2b917fa9fcd38.tar.bz2
rails-9ac7dd47c5e847f7dbfb8d527ee2b917fa9fcd38.zip
Place class level `update`, `destroy`, and `delete` in `Persistence::ClassMethods`
The docs are obviously for class level `update`, `destroy`, and `delete`. It should be placed in `Persistence::ClassMethods` rather than `Relation`. And also, these methods are not dependent on relation. So it is not needed to delegate to `all` (plus, `klass.find` is faster than `relation.find`).
Diffstat (limited to 'activerecord/examples/simple.rb')
0 files changed, 0 insertions, 0 deletions