M
Mark Volkmann
I've received conflicting answers to this question and I'd like to
confirm the correct answer.
When an ActiveRecord dynamic finder method is invoked, does it create
a new method and save it so the method actually exists the next time
it is called OR does it just evaluate the query based on the method
name every time.
I don't have an opinion on which way is better, I just want to know
how it currently works.
confirm the correct answer.
When an ActiveRecord dynamic finder method is invoked, does it create
a new method and save it so the method actually exists the next time
it is called OR does it just evaluate the query based on the method
name every time.
I don't have an opinion on which way is better, I just want to know
how it currently works.