lib/cistern/model.rb in cistern-2.0.2 vs lib/cistern/model.rb in cistern-2.0.3
- old
+ new
@@ -22,14 +22,10 @@
end
attr_accessor :collection, :service
def inspect
- if Cistern.formatter
- Cistern.formatter.call(self)
- else
- "#<#{self.class} #{self.identity}"
- end
+ Cistern.formatter.call(self)
end
def initialize(attributes={})
merge_attributes(attributes)
end