Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activemodel

How to get name of current rake task in my Rails model?

How to create ActiveRecord tableless Model in Rails 5?

" 'nil' is not an ActiveModel-compatible object. It must implement :to_partial_path " error in micropost model

ruby-on-rails activemodel

form_for non-AR model - fields_for Array attribute doesn't iterate

Serialize permissions (e.g. CanCan) with active_model_serializers

Is Mongoid::Document a GlobalID::Identification for ActiveJobs?

How to access params in the callback of a Rails model?

Rails 3, RSpec 2.5: Using should_receive or stub_chain with named scopes

Translate model nested attribute validation message

Active Model Serializers: Adding extra information outside root in ArraySerializer

What's the correct way to make before_validation, etc. work in an ActiveModel

ActiveModel attributes

Rails, using the dirty or changed? flag with after_commit

Multiple HABTM properties with ActiveAdmin and Rails 4: data not saved

Rails/ActiveModel passing arguments to EachValidator

Use ActiveModel::Serializers to include two parent json arrays

on an ActiveModel Object, how do I check uniqueness?

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?