[RAILS4] fixes #7567 - update syntax of deprecated find_by_[attribute] dynamic me...