Module Bullet::ActiveRecord
In: lib/bullet/active_record4.rb
lib/bullet/active_record5.rb
lib/bullet/active_record41.rb
lib/bullet/active_record52.rb
lib/bullet/active_record42.rb

Methods

External Aliases

find_by_sql -> origin_find_by_sql
find -> origin_find

Public Class methods

Public Instance methods

rubocop:disable Style/MethodCallWithoutArgsParentheses

origin_find_by_sql(sql, binds = [], preparable: nil, &block)

Alias for find_by_sql

origin_find_by_sql(sql, binds = [], preparable: nil, &block)

Alias for find_by_sql

if select a collection of objects, then these objects have possible to cause N+1 query. if select only one object, then the only one object has impossible to cause N+1 query.

if select a collection of objects, then these objects have possible to cause N+1 query. if select only one object, then the only one object has impossible to cause N+1 query.

call has_one and belongs_to associations

call has_one and belongs_to associations

if select a collection of objects, then these objects have possible to cause N+1 query. if select only one object, then the only one object has impossible to cause N+1 query.

if select a collection of objects, then these objects have possible to cause N+1 query. if select only one object, then the only one object has impossible to cause N+1 query.

if select a collection of objects, then these objects have possible to cause N+1 query. if select only one object, then the only one object has impossible to cause N+1 query.

[Validate]