fixes #7567 - update syntax of deprecated find_by_[attribute] dynamic methods for rails 4
Merge pull request #4 from isratrade/7567

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