Class: DBConfig::Record

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/db_config/record.rb

Constant Summary collapse

VALUE_TYPES =
%w[String Integer Float Boolean Array Hash NilClass]

Class Method Summary collapse

Class Method Details

.ransackable_associations(auth_object = nil) ⇒ Object



19
20
21
# File 'lib/db_config/record.rb', line 19

def self.ransackable_associations(auth_object = nil)
  authorizable_ransackable_associations
end

.ransackable_attributes(auth_object = nil) ⇒ Object



15
16
17
# File 'lib/db_config/record.rb', line 15

def self.ransackable_attributes(auth_object = nil)
  authorizable_ransackable_attributes
end