Thanks for the comment. Because the scope of this article specifically targeted validations, that's all I pulled in.
I agree that ActiveModel::Modelgives you some handy additional functionality, as does the attributes API. I just didn't want to load up this post with too much stuff.
Thanks again for reading and for the suggestion.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the comment. Because the scope of this article specifically targeted validations, that's all I pulled in.
I agree that
ActiveModel::Model
gives you some handy additional functionality, as does the attributes API. I just didn't want to load up this post with too much stuff.Thanks again for reading and for the suggestion.