lib/couchbase-model.rb in couchbase-model-0.2.0 vs lib/couchbase-model.rb in couchbase-model-0.3.0
- old
+ new
@@ -18,6 +18,11 @@
require 'couchbase/model'
# If we are using Rails then we will include the Couchbase railtie.
if defined?(Rails)
require "couchbase/railtie"
+
+ class Couchbase::Model
+ extend ActiveModel::Naming
+ include ActiveModel::Conversion
+ end
end