Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby on Rails / ActiveRecord and Table Partitions

How to update Rails Controller to return an error when Model.create errors?

Ruby On Rails - many to many between the same table

I'm confused by Model (call 'Model.connection' to establish a connection) message received in console

Remove object from Active Record Relation without deleting it

ActiveRecord - undefined method 'match'

ruby activerecord

Signaling validation errors in assigning a virtual attribute?

How to inherit from models in Rails, where one type extends another without intertwining

cannot understand rails activerecord typecast reasons

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)