Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

What patterns to use to build layers for delphi win 32 application

Rails: is there a difference between 'references :foo' and 'integer :foo_id'?

How do I sort a table by the maximum value of associated records?

Setting default integer values in activerecord

How to fully reload an ActiveRecord to reset it's memoized values?

Is ActiveRecord::Batches::find_each thread safe?

Rails preview update associations without saving to database

Scope with "WHERE ... LIKE" on a related table

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