Publisher review:Validations for Non-ActiveRecord Objects - To get this working grab the active_form.rb file and place it in the app/models directory. To get this working grab the active_form.rb file and place it in the app/models directory.
You can then make your model objects extend ActiveForm and use them like regular ActiveRecord objects.
Validations for Non-ActiveRecord Objects is a Ruby script for Snippets scripts design by Namor.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux