Fixing style in ActiveRecord