Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

using scope on an association

Rails: Prevent parent model from being created and surfacing child model validation errors

Reload a model attribute

Rails 3: .group() ordered by created_at

activerecord - how to get all column of joined tables

What is the behaviour of create_join_table of ActiveRecord::Migration?

Creating Rails ActiveRecord model from params hash

ActiveRecord::DangerousAttributeError

PostgreSQL inheritance in ActiveRecord?

In rails, How to determine if a record was destroyed by a dependent: :destroy callback?

How to skip transaction in ActiveRecord for INSERT ONLY statement?

Rails 3 ActiveRecord conditional includes?

Very slow: ActiveRecord::QueryCache#call

How to fix DEPRECATION WARNING: Class level methods will no longer inherit scoping from in Rails 6.1?

Differences between Active Record and Table Data Gateway

How to query UUID for postgres

has_one through association with condition

How can I use ActiveRecord on a database that has a column named 'valid'? (DangerousAttributeError)

How can I disallow updates except for on one field?

Yii Indirect modification of overloaded property

php activerecord yii