Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby on Rails: Fully functional tableless model

What is the best practice for testing Models in Rails?

How can this code throw a ActiveRecord::ReadOnlyRecord exception?

Rails SQL query builder... Or ActiveRecord query builder

Referring to instance in has_many (Rails)

How to add a COUNT column to a working query with group() in Rails 3.1

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