Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activemodel

Active Model Serializers has_many associations

postgres_ext/serializers help... seems so simple, but can't get anything to work as described

Using `assign_attributes` saves `has_many through:` association immediately

How to validate in a model, data from a controller

How does one put validations on individual ActiveModel/ActiveRecord objects?

Validating nested models with ActiveModel::Validations

Devise not working with Rails 4.0rc1

Rails 3: Display validation errors for a form (not saving an ActiveRecord model)

Rails 4 and Active Admin: ActiveModel::ForbiddenAttributesError

Rails - Polymorphic Favorites (user can favorite different models)

Rails - changing default param_key for a model

ActiveModel without rails

rails serialized array validation

How to properly use joins on polymorphic association in Active Record

Rails: In Rails how to use the model’s Attribute API on a tableless model

Detecting if value of attribute changed during last update doesnt work with Active Model Dirty

Rails validatation to ensure a username does not clash with an existing route?

Getting ActiveModel::Callbacks to work with ActiveResource