Use find_by method instead of where.first
Merge pull request #2 from suginoy/use-find_by

Use find_by method instead of where.first