Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How can I get Rails 5 to play nicely with a primary key that has a period in it?

ActiveRecord update_column: How to increase a record value depending on it's current value with just one query

count with has_many in rails

how to override a validation call in activerecord in a gem?

Stubbing ActiveRecord dynamic finders with RSpec

ActiveRecord configuration for reading from slave MySQL box

How to keep a transient variable as part of ActiveRecord

Group result set by combination of multiple columns [closed]

Rails: Loading schema into secondary database

Ensure unique column value at application level

how to perform a somewhat complicated ActiveRecord scope query for a polymorphic association?

JSONB query in Rails for a key that contains an array of hashes

Rails, add column to select statement

ActiveRecord::ConnectionNotEstablished (No connection pool with 'primary' found.) without Rails

mysql ruby activerecord irb

Joins across more than two tables with activerecord