Class: Moped::Collection

Inherits:
Object
  • Object
show all
Defined in:
lib/overrides.rb

Instance Method Summary collapse

Instance Method Details

#insert_with_logging(*args) ⇒ Object



3
4
5
6
7
# File 'lib/overrides.rb', line 3

def insert_with_logging(*args)
  $models[self.name] ||= self

  insert_without_logging(*args)
end