Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activemodel

What is the difference between ActiveResource and ActiveModel?

ActiveModel::Validations on anonymous class

ruby activemodel

Rails 5 throw abort : how do I setup error messages?

How to pass argument to delegate method in Rails

ActiveModel - View - Controller in Rails instead of ActiveRecord?

What is the ActiveModel method attribute "_was" used for?

How can i set include_root_in_json to false for all my RoR models?

Where are Default Validation Error Messages in Rails 3.0?

rails 3:how to generate models for existing database tables

Getting actual array of results using Mongoid

Efficient way to report record validation warnings as well as errors?

How to setup a one to many relationship?

ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes

ruby-on-rails activemodel

Shared scopes via module?

Track dirty for not-persisted attribute in an ActiveRecord object in rails

How to implement multiple different serializers for same model using ActiveModel::Serializers?

Forbidden Attributes Error in Rails 4 when encountering a situation where one would have used attr_accessible in earlier versions of Rails

How to test a custom validator?

get validations from model

Controlling the order of rails validations