diff options
author | Sergio <shernade@gmail.com> | 2013-09-05 00:40:14 +0200 |
---|---|---|
committer | Sergio <shernade@gmail.com> | 2013-09-05 00:40:14 +0200 |
commit | 90155b4e28a3887dce9428e9df150ede3d6c7465 (patch) | |
tree | f32514016ba65a21ad15928e2d2efe9f0eca0229 /guides/source/active_model_basics.md | |
parent | 67d88b5040e93672c4122817a8e3b21720b2d9fd (diff) | |
download | rails-90155b4e28a3887dce9428e9df150ede3d6c7465.tar.gz rails-90155b4e28a3887dce9428e9df150ede3d6c7465.tar.bz2 rails-90155b4e28a3887dce9428e9df150ede3d6c7465.zip |
Client.exists?(1,2,3) and Client.exists?([1,2,3]) does not work
The right command for doing that is Client.exists?id:[1,2,3]
Exists does not work like find method, in find method you can do Person.find(1, 2, 6) or Person.find([7, 17]) but not Person.exists?(1,2,3) or Person.exists?([1,2,3])
Diffstat (limited to 'guides/source/active_model_basics.md')
0 files changed, 0 insertions, 0 deletions