Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activemodel

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

ActiveModel::MissingAttributeError occurs after deploying and then goes away after a while

LoadError Unable to autoload constant Message

Difference between Active Model, Active Record and Active Resource

Getting types of the attributes in an ActiveRecord object

How to determine if a record is just created or updated in after_save