diff options
author | Zoltan Debre <zdebre@gmail.com> | 2013-04-16 00:56:12 +0200 |
---|---|---|
committer | Zoltan Debre <zdebre@gmail.com> | 2013-04-16 00:56:12 +0200 |
commit | ffde34d51075e584658b5d492a9d2b101c5633b7 (patch) | |
tree | 3ec49e91b71670fe565410842e4a4e464713558b /activerecord | |
parent | 1655f4142efa89acb86812f5c1d7572e51cbae80 (diff) | |
download | rails-ffde34d51075e584658b5d492a9d2b101c5633b7.tar.gz rails-ffde34d51075e584658b5d492a9d2b101c5633b7.tar.bz2 rails-ffde34d51075e584658b5d492a9d2b101c5633b7.zip |
Change 'validates_presence_of' to 'presence: true'
Of course validates_presence_of is still working but it is not explained in the guide, I think consequently should use 'presence: true' in this documentation.
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions