handle unknown attributes in activeRecord
When using ActiveRecord::new to create a new record in Rails, you may encounter the ActiveRecord::MissingAttributeError error if you pass an attribute that does not exist in the model. This can happen for a few reasons: You misspelled an attribute n...
Aug 24, 20232 min read14