Lines Matching refs:klass
15 def select_attributes_class(klass, search_value, *keys, search_column: :id)
17 klass.where(search_column => search_value).pluck(key).first
24 klass = record.class
25 skip_all_callbacks(klass)
27 set_all_callbacks(klass)
46 def skip_all_callbacks(klass)
48 klass.send("_#{name}_callbacks").each do |_callback|
50 klass.skip_callback(name, _callback.kind, _callback.filter)
56 def set_all_callbacks(klass)
58 klass.send("_#{name}_callbacks").each do |_callback|
60 klass.set_callback(name, _callback.kind, _callback.filter)