remove parentheses with where
Fix DEPRECATION WARNING: Relation#all is deprecated. e.g Model.all will return a relation instead of an array
Fix DEPRECATION WARNING: Relation#first with finder options is deprecated.
remove Relation#all method
change find_all_by_user_id to where
remove tab
Merge pull request #1833 from YusiFan/rails4_new

Remove parentheses with where