Search code examples
ActiveRecord::HasManyThroughOrderError: Cannot have a has_many :through association...


ruby-on-railsrubyactiverecordassociations

Read More
What are the cons of using enum field for single table inheritance in rails?...


ruby-on-railsrubyactiverecordenumssingle-table-inheritance

Read More
Weird behaviour in model (Ruby on Rails 4)...


activerecordruby-on-rails-4

Read More
How to make ActiveRecord load different migrations with the same sequential numbers in the beginning...


rubyactiverecordrails-activerecord

Read More
How to pass hash values of ActiveRecord::Base class...


ruby-on-railsrubyactiverecord

Read More
ActiveRecord query jsonb with LIKE as though it were a string...


ruby-on-railspostgresqlactiverecordjsonbpostgresql-14

Read More
ThinkingSphinx & callback doesnt update index after creating record...


ruby-on-railsactiverecordfull-text-searchthinking-sphinx

Read More
ActiveRecord: keep duplicated objects in .where query...


ruby-on-railsactiverecord

Read More
How to form a WHERE condition matching multiple ORDER BY items?...


sqlruby-on-railspostgresqlactiverecord

Read More
How to fully reload an ActiveRecord to reset it's memoized values?...


ruby-on-railsrubyactiverecordrspec

Read More
Is Repository pattern as same as Active Record pattern?...


design-patternsactiverecordrepository-pattern

Read More
Getting a TypeMismatch in Rails with Multiple Checkboxes...


ruby-on-railsactiverecordruby-on-rails-7

Read More
Determine if reserved item is available when extending the reservation...


ruby-on-railsactiverecordruby-on-rails-7

Read More
Rails order by results count of has_many association...


ruby-on-railsruby-on-rails-3activerecord

Read More
Ruby on Rails: before_save fields to lowercase...


ruby-on-railsrubydatabasesqliteactiverecord

Read More
Get row's distinct count from query result with Codeigniter...


phpsqlcodeigniteractiverecordrowcount

Read More
How do I migrate an indexed PostgreSQL string column to an indexed array of strings using ActiveReco...


rubypostgresqlactiverecord

Read More
Rails Postgres how to query a jsonb column for empty objects?...


ruby-on-railspostgresqlactiverecordjsonb

Read More
How do I query for empty jsonb arrays in Postgres, Activerecord, Rails 5...


postgresqlactiverecordruby-on-rails-5jsonb

Read More
Rails 6 index resource with association stats N+1?...


sqlruby-on-railsactiverecord

Read More
Difference between ActiveRecord and ActiveRecord::Relation objects...


ruby-on-railsrubyactiverecordrails-activerecordactive-relation

Read More
How to access aliased attributes in ActiveRecord class? Is there a better way I'm missing?...


ruby-on-railsactiverecord

Read More
Transpiling ActiveRecord objects to TypeScript types for non-mono repository...


ruby-on-railsrubytypescriptreact-nativeactiverecord

Read More
What is the Ruby ActiveRecord equivalent for this SQL?...


sqlruby-on-railsrubyoptimizationactiverecord

Read More
In Rails testing, is there a way to roll back ActiveRecord transactions without raising an exception...


ruby-on-railsrubyactiverecord

Read More
rails scope and joins...


sqlruby-on-railsactiverecord

Read More
How do I populate the seed data of a model that has a (one to many) relationship with itself in rail...


ruby-on-railsrubydatabaseactiverecordorm

Read More
Can I have a way to save a record in the after_rollback model callback?...


ruby-on-railsactiverecordtransactions

Read More
Rails -- get the names of all a table's columns of a certain data type? (#column_names for just ...


ruby-on-railsactiverecord

Read More
Rollback entire transaction within nested transaction...


ruby-on-railsactiverecordruby-on-rails-5

Read More
BackNext