Answers for "update without validation rails"

1

rails update without validation

# no validations
user.update_attribute(:last_request_at, Time.current)
# no validations AND callback
user.update_columns(last_request_at: Time.current)
Posted by: Guest on May-06-2020

Code answers related to "update without validation rails"

Browse Popular Code Answers by Language