use syntax for rails 4