Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby on Rails - ActiveRecord::Relation count method is wrong?

ActiveRecord - "first" method in "scope" returns more than one record

How do I remove ActiveRecord from an existing Rails 4 Application?

Yii2 ActiveRecord cache

caching activerecord yii yii2

What is default ActiveRecord isolation level for transaction

Rails Postgres how to query a jsonb column for empty objects?

Rails - ArgumentError in using ActiveRecord::Enum

Overriding "find" in ActiveRecord the DRY way

Fetching second level model with rails active record

ActiveRecord returns data in ASCII-8Bit Under Ruby 1.9.2-rc1

Help with rails active record querying (like clause)

Rails: How do I define an association extension in a module that gets included in my AR model?

ActiveRecord: make all text fields have strip called on them before saving, unless specified otherwise

Rails - Boolean field not saved on PostgreSQL / Heroku

How can I use validations in Rails 3.1 to enforce composite uniqueness?

rspec - how to check that allow_blank exists

Understanding "attribute_will_change!" method

Rails: multiselect filtering with a blank option

ActiveRecord find position (index) of record within relation based off value of attribute

Is it possible to make ActiveRecord create objects for rows loaded using the :joins option?