diff options
author | claudiob <claudiob@gmail.com> | 2015-01-07 09:05:23 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2015-01-07 09:15:47 -0800 |
commit | 76dc58b4d098a8db13c87e07444e3fed8643fbb4 (patch) | |
tree | 605982cfbbedd2b9319a43c4aef89dec128e0317 /activerecord/lib/active_record/errors.rb | |
parent | 9892d445bcff57f0a8bd8eb467cb7bf8c40a285b (diff) | |
download | rails-76dc58b4d098a8db13c87e07444e3fed8643fbb4.tar.gz rails-76dc58b4d098a8db13c87e07444e3fed8643fbb4.tar.bz2 rails-76dc58b4d098a8db13c87e07444e3fed8643fbb4.zip |
Better docs for AM::Lint::Tests
This commit changes the original documentation of ActiveModel::Lint::Tests
introduced in dbf20c2d to focus less on *why* the tests exist and more on
*what* the tests do.
For instance, `test_to_key` was documented as:
> Returns an Enumerable of all (primary) key attributes...
whereas `test_to_key` is simply a test meant to *fail* or *pass*, and the
documentation above refers to `to_key`.
[ci skip]
Diffstat (limited to 'activerecord/lib/active_record/errors.rb')
0 files changed, 0 insertions, 0 deletions