diff options
author | akihiro17 <coolwizard11@gmail.com> | 2016-03-14 23:51:09 +0900 |
---|---|---|
committer | akihiro17 <coolwizard11@gmail.com> | 2016-03-14 23:51:09 +0900 |
commit | 8f3427125018f59392dc876a8195ee2f54d2b51d (patch) | |
tree | bd617d09fdc2d07cfc1a7cc2fe5f8771ee062afd /activerecord/lib/active_record/validations/presence.rb | |
parent | 493297d13f7d010a896b6cb026c874f64d959ba5 (diff) | |
download | rails-8f3427125018f59392dc876a8195ee2f54d2b51d.tar.gz rails-8f3427125018f59392dc876a8195ee2f54d2b51d.tar.bz2 rails-8f3427125018f59392dc876a8195ee2f54d2b51d.zip |
[ci skip] Fix the FinderMethods#find document
We should use #find_or_initialize_by and #find_or_create_by because #first_or_initialize and #first_or_create methods are not the public API
Diffstat (limited to 'activerecord/lib/active_record/validations/presence.rb')
0 files changed, 0 insertions, 0 deletions