correct rails style 3