Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord::Base.connection.query_cache_enabled in sidekiq

ActiveRecord sum and pluck method return strange value

Explain COUNT query with ActiveRecord

Rails: Is it ok to call ActiveRecord Methods in the view Rails

uninitialized constant ActiveRecord::ConnectionAdapters::Mysql2Adapter::NATIVE_DATABASE_TYPES (NameError)

How to use joins inside includes in rails active record query?

ActiveRecord::StatementInvalid: Mysql2::Error: Cannot delete or update a parent row - Rails 4.2.6

activerecord as model, is this a good idea?

sql injection prevention for create method in rails controller

PostgreSQL + Rails citext

Adding a computed column to an ActiveRecord query

Override ActiveRecord << operator on has_many :through relationship, to accept data for the join model

Is there a clean way to test ActiveRecord callbacks in Rspec?

rails 3 getting the count of the records that have more than one associate records (has_many)

Rails change column type and update column values

Yii2 : Active Record Column Aliases

activerecord alias yii2

Rails 4 update_all and set value from another field

broken create, save, update, and destroy on Join record when using Postgres UUIDs in Rails

How to iterate ActiveRecord Attributes, including attr_accessor methods

ActiveRecord for Erlang