lib/ripple/conversion.rb in ripple-1.0.0.beta vs lib/ripple/conversion.rb in ripple-1.0.0.beta2
- old
+ new
@@ -1,9 +1,10 @@
require 'active_model/conversion'
module Ripple
# Provides ActionPack compatibility for {Ripple::Document} models.
module Conversion
+ extend ActiveSupport::Concern
include ActiveModel::Conversion
# True if this is a new document
def new_record?
new?