-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
hi...this is a pretty noob question....when I use find_by_email I get:
Warning: Defining view User#by_email with keys "email" at call time, please add it to the class body...
I don't know what must I do and use a method in call time result very slow and I'm used to datamapper style finder; there are any way for find whitout dynamic finder; I've tried it:
user=User.first(:name => "gaga") nice style datamapper
or
user=User.find(:first, :condition =>{:name => "gaga"}) ugly old rails version
but any work
thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels