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: Pass class instead of string to class_name when defining associations
Jan 24, 2020
ruby-on-rails
activerecord
associations
Receiving "Attempted to update a stale object: User" exception when updating current_user before logging out
Aug 20, 2022
ruby-on-rails
ruby
activerecord
devise
Difference between ActiveRecord and ActiveRecord::Relation objects
Feb 25, 2022
ruby-on-rails
ruby
activerecord
rails-activerecord
active-relation
Ruby types of collections in ActiveRecord
Apr 23, 2019
ruby
activerecord
Rails - Add Record to join table from controller
Feb 27, 2022
ruby-on-rails
activerecord
join
Get a list of validation rules in Rails 3?
Mar 16, 2016
ruby-on-rails
ruby-on-rails-3
activerecord
How can i loop through a daterange with different intervals?
Mar 28, 2022
ruby-on-rails
ruby
ruby-on-rails-3
activerecord
intervals
Trouble with accepts_nested_attributes_for in Rails 5.0.0.beta3, -api option
Aug 10, 2019
ruby-on-rails
postgresql
activerecord
ruby-on-rails-5
How to pluck "as alias_name" from rails active record query
Apr 26, 2022
sql
ruby-on-rails
postgresql
ruby-on-rails-4
activerecord
ActiveRecord find all parents that have associated children
Oct 13, 2022
ruby-on-rails
activerecord
associations
Rails : belongs_to and has_many using non-standard ids
Oct 19, 2022
ruby-on-rails
activerecord
Multiple sum()s in ActiveRecord in Rails
Dec 01, 2021
ruby-on-rails
activerecord
Rails3: combine scope with OR
Jul 13, 2018
ruby
activerecord
scope
ruby-on-rails-3
Rails 3 ActiveRecord validation based on user permissions
Apr 22, 2022
ruby-on-rails
validation
activerecord
permissions
ruby-on-rails-3
Rails / ActiveRecord: detect if a column is an association or not
Nov 09, 2022
ruby-on-rails
activerecord
Rails ActiveRecord object not saving
Jul 31, 2019
ruby-on-rails
activerecord
Rails 4.1 Enums: enum.status = nil
Sep 09, 2021
activerecord
enums
ruby-on-rails-4.1
How to query a model based on attribute of another model which belongs to the first model?
Feb 12, 2021
ruby-on-rails
activerecord
active-record-query
How to force a has_many association using a different column as foreign key
Sep 12, 2022
ruby-on-rails
activerecord
ruby-on-rails-5
Force to reconnect MySQL in Rails
Jan 17, 2020
mysql
ruby-on-rails
activerecord
reconnect
« Newer Entries
Older Entries »