Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in rails-activerecord
Implementing the composite pattern in Ruby on Rails
Mar 25, 2023
ruby-on-rails
design-patterns
polymorphism
rails-activerecord
composite
ActiveRecord :includes - how to use map with loaded associations?
Mar 24, 2023
ruby-on-rails
ruby
activerecord
ruby-on-rails-3.2
rails-activerecord
Rails ActiveRecord handle an id column that is not the primary key
Mar 22, 2023
mysql
ruby-on-rails
rails-activerecord
primary-key
Performance differences between .exists? and .where.present?
Mar 17, 2023
ruby-on-rails
ruby-on-rails-3
performance
rails-activerecord
Rails find_by_sql - Use "?" literally rather than as bind variable?
Mar 12, 2023
ruby-on-rails
activerecord
rails-activerecord
How can I simulate `OR` conditions for `has_many` association in Rails 5?
Mar 10, 2023
ruby-on-rails
rails-activerecord
ruby-on-rails-5
How to prevent nested create failing with scoped has_many in ActiveRecord?
Mar 10, 2023
ruby-on-rails
ruby
activerecord
ruby-on-rails-5
rails-activerecord
Changing table name at query run time in a Rails application
Mar 06, 2023
ruby-on-rails
ruby
activerecord
rails-activerecord
Rails Postgres query, selecting only items that appear in all search params with associations
Mar 05, 2023
sql
ruby-on-rails
postgresql
ruby-on-rails-5
rails-activerecord
Rubocop Uniqueness validation should be with a unique index, in values that start from some specific values
Mar 03, 2023
ruby-on-rails
ruby
rails-activerecord
activemodel
rubocop
How to get this postgres group by date count include days with 0
Feb 16, 2023
ruby-on-rails
postgresql
activerecord
rails-activerecord
Building a Rails scope using `tap`
Feb 16, 2023
ruby-on-rails
ruby
ruby-on-rails-4
rails-activerecord
Ruby on Rails - how would I change the order of posts displayed to newest at the top of page?
Feb 11, 2023
ruby-on-rails
ruby
rails-activerecord
belongs_to touch: true not fired on association.build and nested attribute assignment
Feb 01, 2023
ruby-on-rails
ruby
ruby-on-rails-5
rails-activerecord
How to define the sequence to use when creating a table in ActiveRecord migration in Ruby on Rails 5.2?
Jan 30, 2023
ruby-on-rails
postgresql
activerecord
rails-activerecord
rails-migrations
How does the upsert function in Rails work?
Jan 28, 2023
ruby-on-rails
rails-activerecord
Ruby on Rails: Running custom validation function only when other properties are present
Sep 02, 2025
ruby-on-rails
ruby
rails-activerecord
rspec-rails
Rails Active Record has nil id after commit
Sep 02, 2025
ruby-on-rails
ruby
rails-activerecord
Older Entries »