BasicActiveModel
If you want to implement static models (for a search engine, a contact form…), just inherit from BasicActiveModel : a very small class that provides minimal architecture for a Rails form object.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
If you want to implement static models (for a search engine, a contact form…), just inherit from BasicActiveModel : a very small class that provides minimal architecture for a Rails form object.
Post a comment