Class: ActiveRecord::Base
- Inherits:
-
Object
- Object
- ActiveRecord::Base
- Defined in:
- lib/atomically/active_record/extension.rb,
lib/atomically/patches/none.rb,
lib/atomically/patches/from.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.atomically ⇒ Object
13 14 15 |
# File 'lib/atomically/active_record/extension.rb', line 13 def self.atomically Atomically::QueryService.new(self) end |
Instance Method Details
#atomically ⇒ Object
17 18 19 |
# File 'lib/atomically/active_record/extension.rb', line 17 def atomically Atomically::QueryService.new(self.class, model: self) end |