Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Active Record where join table record doesn't exist

Creating an active record scope to order on Jsonb Field

Overriding methods in ActiveRecord::QueryMethods

ruby activerecord arel

Rails 4: add exemption for after_update in model

MySQL Active record query ignoring case

Rails: Is it possible to select has_many association column id as array

Is it possible to know what exactly changed using an observer in ruby on rails?

Active Record Join with most recent association object attribute

Rails query related tables column value

Rails shows non existent database records

Querying From :through Association

Friendship model, how to determine if a friendship model already exists between 2 users

DB query that orders a collection by an association's attribute value

when to ditch active record?

The right way to remove attribute from rails model object

ActiveRecord #includes, with condition, but load all relations, not just those matching condition

Rails: Data too long for column

How do I redirect to 404 page when any records do not exist?