Fix coding standards in application files

This commit is contained in:
Thibault Jouan
2015-04-30 08:52:00 +00:00
parent 737ac1f10a
commit 3b733c349e
16 changed files with 34 additions and 26 deletions

View File

@@ -3,8 +3,8 @@ class Track < ActiveRecord::Base
validates_presence_of :name
def file=(file)
sounds.build(file: file)
def file= file
sounds.build file: file
end
def sound