Search code examples
Rails: Creating models from existing tables?...


ruby-on-railsactiverecordruby-on-rails-4

Read More
Using ActiveRecord, is there a way to get the old values of a record during after_update...


ruby-on-railsactiverecordmodelcallback

Read More
Case insensitive with special special characters in Rails model...


ruby-on-railsrubyactiverecordcase-insensitive

Read More
Best way to find a single record using ActiveRecord 3 / Arel?...


ruby-on-railsrubyactiverecordarel

Read More
how to skip or call another model's hook in rails?...


ruby-on-railsactiverecordhook

Read More
Rails - Querying Noticed Notification with the params id...


ruby-on-railsactiverecordjsonb

Read More
Migration with a decimal number with 2 trailing digits...


ruby-on-railsactiverecordrails-migrations

Read More
ARel select rows by string length...


ruby-on-railsactiverecordarel

Read More
Bulk Insert records into Active Record table...


ruby-on-railsactiverecordbulkinsert

Read More
Rails ActiveRecord - Applying a condition or scope to multiple associations...


ruby-on-railsrubyactiverecordruby-on-rails-5

Read More
How to find instances of objects that share a common relationship to another object?...


ruby-on-railsrubydatabasepostgresqlactiverecord

Read More
Codeigniter: does $this->db->last_query(); execute a query?...


codeigniteractiverecordcodeigniter-2

Read More
get multiple docs by ID as ActiveRecord in Yii2 from ealstic search using mget()...


elasticsearchactiverecordyii2cactivedataprovidermget

Read More
Rails: How can I use .to_sql on a .select() request...


ruby-on-railsactiverecord

Read More
Getting "original" object during a before_add callback in ActiveRecord (Rails 7)...


ruby-on-railsactiverecordrails-activerecordruby-on-rails-7rails7

Read More
ActiveRecord: Skip validation when saving multiple objects...


ruby-on-railsactiverecord

Read More
Rails PG::UndefinedTable: ERROR: missing FROM-clause entry for table...


sqlruby-on-railspostgresqlactiverecordorm

Read More
Performance issue with the Active Record type map query after upgrading to rails 7...


ruby-on-railspostgresqlactiverecord

Read More
Rails ActiveRecord validation: Assert of errors.added? :inclusion unexpectedly fails with a false ne...


ruby-on-railsrubyvalidationactiverecordminitest

Read More
Rails: How do I call `self.save` in my model and have it persist in the database?...


ruby-on-railsactiverecordpersistence

Read More
Issue constructing a has_many relation with scope using multiple join tables...


ruby-on-railsdatabasepostgresqlactiverecordransack

Read More
Association between post, user, and comment on Ruby on Rails...


ruby-on-railsrubydatabaseactiverecord

Read More
ActiveRecord - how to create a scope on the MIN and MAX of a `has_many` children relationship?...


sqlruby-on-railsjoinactiverecord

Read More
Need help creating structure.sql for my Rails app...


ruby-on-railsactiverecord

Read More
Best practice for user-sorted has_many associations in Rails?...


ruby-on-railsactiverecord

Read More
Create Rails query using LIKE that searches over association tables...


sqlruby-on-railsrubyactiverecordsql-like

Read More
Rails 7 has_many through not loading associated records when editing record...


ruby-on-railsactiverecord

Read More
Using helpers in model: how do I include helper dependencies?...


ruby-on-railsrubyactiverecordmodel

Read More
ActiveRecord: How to order and retrieve records in a greatest-n-per-group situation...


sqlruby-on-railsactiverecordgreatest-n-per-group

Read More
Find all objects with no associated has_many objects...


ruby-on-railsactiverecordassociations

Read More
BackNext