lib/cistern/model.rb in cistern-0.12.1 vs lib/cistern/model.rb in cistern-0.12.2
- old
+ new
@@ -2,9 +2,11 @@
extend Cistern::Attributes::ClassMethods
include Cistern::Attributes::InstanceMethods
attr_accessor :collection, :connection
+ alias service connection
+
def inspect
Cistern.formatter.call(self)
end
def initialize(attributes={})