Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord STI Forreign Key Override for Associations

Rails schema & migrate keeps reverting to a VERSION=0

Rails 4 - how to use "includes(:model)" with ".select(...)"? Is there any alternative?

Updating email domain name in Rails Console for many users

Safe way to increase field value in rails AR

Rails :counter_cache with custom query association

How to query for records where Active Storage attached and image is variable?

Rails 6 Active Storage: Could not find or build blob: expected attachable... (issue when (re)setting attachment)

Does ActiveRecord make Ruby on Rails code hard to test?

yii2 behaviors ActiveRecord::EVENT_BEFORE_INSERT not working

activerecord yii2

Rails cant connect to database with ActiveRecord::establish_connection

ActiveRecord: keep duplicated objects in .where query

Safe to override save method in ActiveRecord?

Advanced query in Rails with multiple joins

How to connect to primary database and shards using Rails 6.1 multiple databases ActiveRecord::ConnectionHandling?

Cleaning up Paperclip error messages

Database with hash column in rails