Fix: features deprecated in Rails

find(:first) and find(:all) are deprecated in favour of first and all
methods. Support will be removed from Rails 3.2
Fix: Expressions can be simplified
Fix: unnecessary semicolon
Fix: removed unnecessary parentheses
Fix: unnecessary return value
Fix: removed unused parameters
Merge pull request #1328 from benjaminvialle/CodeInspection

Code inspection