| Start |
|---|
| Using ActiveModel::Validations You can validate any object, even plain ruby. RemarksActiveModel was created to extract the model behavior of ActiveRecord into a separate concern. This allows us to use ActiveModel behavior in any object, not just ActiveRecord models. ActiveRecord objects include all of this behavior by default. |
Read Article
https://develop.horje.com/learn/1434/reference