fix deprecation warnings in rails 4
return relation instead of Array of AR objects
Merge pull request #2 from pub-burrito/rails4_deprecation_fix

fix deprecation warnings in rails 4