use Rails 4 style