Use Rails 4 active record syntax