Then change everything to this style. You are not being consistent. Your User class has a "find_by_user". Choose one style and stick with it.