correct rails style 2