RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Issues with ActiveRecord find_by_*

An overview of some unexpected behavior from ActiveRecord dynamic finders. http://seejohncode.com/2017/04/12/rails-find-by-issue/

Comments

Aren’t those find_by_* dynamic methods officially deprecated?

@Roman find_by_* is not deprecated but find_by_*_and_* etc are (probably all should be though :))

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in