More rails way AR queries
Use `find_or_create_by` suggested by @schneems
Merge pull request #287 from igas/rails-way-ar

More rails way AR queries