Stylish your code
Rules for better Rails programming:
- Two spaces, no tabs
- Blocks use { }, if they are one-liners, otherwise do … end
- Surround equal signs with spaces, @myvar = ‘foo’, not @myvar=’foo’
- Surround hash assignments with spaces, :foo => ‘bar’, not :foo=>‘bar’
- Class.method(my_arg)―not method( my_arg ) or method my_arg