Forum: Ruby on Rails Clarifying dynamic find_by_attribute deprecations

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E3a8a7e7250f6b2c8a874e1ea3a9a480?d=identicon&s=25 Brendon Murphy (Guest)
on 2013-01-28 12:44
(Received via mailing list)
I've seen a number of blog posts claiming all dynamic find_by_attribute
methods are deprecated come Rails4 (with extraction to a gem).  However,
the Rails release notes specify that some of the API remains:
http://edgeguides.rubyonrails.org/4_0_release_note...

There was initial confusion in this pull request over what all was
deprecated:
https://github.com/rails/rails/pull/8989

The comments there seem to indicate
find_by_attribute_and_other_attribute
will be deprecated but find_by_attribute is not;  the Rails release note
doesn't seem to go that far.

I think it's worth getting clarity on this, and then maybe I (or
somebody)
can make it more explicit in the notes if need be.
This topic is locked and can not be replied to.