Answers for "ruby on rails 6 update without validations"

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 "ruby on rails 6 update without validations"

Browse Popular Code Answers by Language