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 activerecord
ActiveRecord associations are auto-saved on assignment after migrating between Rails versions, how can I disable that?
Nov 22, 2018
ruby-on-rails-3
activerecord
Rails update only empty fields
Sep 18, 2014
activerecord
ruby-on-rails-3.1
Create form fields for hash attribute
Jul 30, 2016
ruby-on-rails
ruby
activerecord
ruby-on-rails-4
Get records with empty hstore
May 23, 2018
postgresql
activerecord
pg
hstore
Dynamic class_name for has_many relations
Jun 13, 2018
ruby-on-rails
ruby
activerecord
orm
How would you do this Rails sub-query using Squeel?
Oct 01, 2021
ruby-on-rails
activerecord
arel
squeel
Polymorphic Association with multiple associations on the same model
Sep 18, 2019
ruby-on-rails
ruby
activerecord
polymorphic-associations
How to capture errors from ActiveRecord::Base.connection.execute in Rails?
Jan 21, 2022
ruby-on-rails
ruby
activerecord
Multiple scope uniqueness validation
Oct 18, 2022
ruby-on-rails
activerecord
Is it possible to not repeat Rails ActiveRecord where condition arguments?
Nov 06, 2022
ruby-on-rails
activerecord
where
rails-activerecord
How do I force a Rails query to return potentially two models per result?
Nov 20, 2022
ruby-on-rails
search
activerecord
model
ruby-on-rails-5
Rails 3 Order By Count on has_many :through
Jun 14, 2017
ruby
ruby-on-rails-3
activerecord
tagging
Selecting records where relation is not empty
Aug 19, 2022
ruby-on-rails
ruby-on-rails-3
activerecord
How are values cast when assigning to a Boolean field in Rails ActiveRecord?
May 02, 2022
ruby-on-rails
activerecord
boolean
How to join on the same table multiple times?
Oct 19, 2022
ruby-on-rails
activerecord
HMT collection_singular_ids= deletion of join models is direct, no destroy callbacks are triggered
Dec 07, 2016
ruby-on-rails
activerecord
has-many-through
Is possible to recursively save a record in Rails?
Nov 11, 2019
ruby-on-rails
activerecord
Rails 3 has_many :through + join table conditions / scoping
Nov 10, 2020
ruby-on-rails-3
activerecord
arel
object.count returns 0. But object.any? returns true. What's happening?
Apr 27, 2022
ruby-on-rails
ruby
activerecord
Rails: How do I filter a ActiveRecord collection result without making new db queries?
Nov 16, 2022
ruby-on-rails
activerecord
« Newer Entries
Older Entries »