Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Validating length of habtm association without saving

Rails schema.rb different for different databases

Rails 3 Including multiple tables in one query

running Rails unit tests without loading the environment or using a database

How to customize error messages for validates numericality sub-options?

ActiveRecord: find_by_sql and includes

FactoryBot namespaced models without class_name

How to use ILIKE for multiple values in single column in rails?

Show ActiveRecord objects like table in ./script/console

Rails index of an association

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