I'm thinking of removing the "nested attributes" feature to stay in the philosophy of a minimalist gem.
To validate nested attributes you can do this easily with an ActiveModel::Model class. Also you can validate the presence of the nested objects using Strong parameters and the require method on the params object.
If you have any opinion on this, please comment!
I'm thinking of removing the "nested attributes" feature to stay in the philosophy of a minimalist gem.
To validate nested attributes you can do this easily with an ActiveModel::Model class. Also you can validate the presence of the nested objects using Strong parameters and the
requiremethod on the params object.If you have any opinion on this, please comment!