Search code examples
Is testing relations in Rails considered to be a best practice?...


ruby-on-railsactiverecordrspecrelationship

Read More
Rails ActiveRecord::LogSubscriber not outputting verbose query logs...


ruby-on-railsrubyloggingactiverecordruby-on-rails-6

Read More
Does Ruby on Rails have a way to import an existing database schema?...


ruby-on-railsrubydatabaseactiverecord

Read More
Database configuration does not specify adapter (Sinatra + Heroku + Activerecord)...


activerecordherokusinatra

Read More
Passing parameters to raw SQL queries inside ruby on rails...


sqlruby-on-railsrubypostgresqlactiverecord

Read More
Is it possible to inner join across multiple databases in Rails?...


ruby-on-railspostgresqljoinactiverecord

Read More
Rails ActiveRecord::Base.transaction not reversing when one resource fails to create...


ruby-on-railspostgresqlactiverecordtransactionsrails-activerecord

Read More
ActiveRecord: How to get has_many relation from each record in a relation...


ruby-on-railsactiverecord

Read More
Rails select is not giving the correct record while executing SQL...


mysqlruby-on-railsactiverecordruby-on-rails-5.1

Read More
Unable to use Active Record's update method on a single attribute. Is it due to callbacks or val...


ruby-on-railsactiverecord

Read More
ActiveRecord erroneously escapes JSON string...


ruby-on-railsactiverecord

Read More
How can I dynamically change the Active Record database for all models in Ruby on Rails?...


ruby-on-railsdatabaseactiverecord

Read More
A surprisingly complex ActiveRecord relationship...


ruby-on-railsrubyruby-on-rails-3activerecord

Read More
How to limit uniqueness scope to parent while creating nested attributes?...


ruby-on-railsactiverecordmodelrails-activerecord

Read More
ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "AS"...


activerecordsyntax-error

Read More
Rails User.joins.not(...) in Active Record?...


sqlruby-on-railsactiverecordruby-on-rails-4

Read More
How to remove errors in after_validation in Rails...


ruby-on-railsrubyactiverecordactivemodel

Read More
What's the difference between belongs_to and has_one?...


ruby-on-railsactiverecord

Read More
Find model records by ID in the order the array of IDs were given...


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

Read More
Converting an array of objects to ActiveRecord::Relation...


ruby-on-railsrubyactiverecord

Read More
uninitialized constant ApplicationRecord rspec...


ruby-on-railsactiverecordrspec

Read More
Rails Active Record / Database Data in a Route Constraint...


ruby-on-railsruby-on-rails-4activerecordroutesconstraints

Read More
Rails 7, trying to exclude applicants from a list of projects using joins...


ruby-on-railsrubyactiverecordruby-on-rails-7

Read More
How to get an instance of the base class in a Ruby on Rails class with inherited classes (STI)...


ruby-on-railsactiverecordsingle-table-inheritance

Read More
Ruby: How to save user defined logic in database...


ruby-on-railsrubyactiverecord

Read More
Querying with ActiveRecord for values inside a JSON attribute using an array of values...


mysqlruby-on-railsactiverecord

Read More
Order, Product and ProductVariant association through OrderItem...


ruby-on-railsactiverecordrails-activerecord

Read More
Syncing rails model using nested_attributes...


ruby-on-railsrubyactiverecordaccepts-nested-attributes-for

Read More
Rails: Determine if attribute on association just changed...


ruby-on-railsactiverecordruby-on-rails-5associations

Read More
In Rails i am not able to set `attr_accessor` from concern in model level...


ruby-on-railsrubyactiverecordactivesupport-concern

Read More
BackNext