4 ms·
Isn't the find_by_XXX style (soon to be?) deprecated?
by adamkittelson 13y ago
Isn't the find_by_XXX style (soon to be?) deprecated?
- chancancode 13y agoThere has been a lot of confusion about this, but this is not true[1]. `find_by_xxx` and `find_by_xxx!` are not part of the deprecation. 1. http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-3-2-to-rails-4-0-active-record http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.ht...
- ikawe 13y agoNope: http://edgeguides.rubyonrails.org/4_0_release_notes.html#active-record-deprecations http://edgeguides.rubyonrails.org/4_0_release_notes.html#act... That one is staying, most of the others are going (e.g. find_all_by_xxx, find_last_by_xxx)