fixes #7567 - update syntax of deprecated find_by_[attribute] dynamic methods for rails 4

woah! you forgot to solve this conflict...