use (rails4) before_action instead of (rails3) before_filter
changed find_or_create to (rails4) first_or_create
Merge pull request #7 from XORwell/master

some Rails 3 idiom ==> Rails 4