Use new Rails 4 active_record syntax