lib/amfetamine/base.rb in amfetamine-0.2.1 vs lib/amfetamine/base.rb in amfetamine-0.2.3
- old
+ new
@@ -6,9 +6,10 @@
extend ActiveModel::Naming
extend ActiveModel::Callbacks
include ActiveModel::Validations
include ActiveModel::Serialization
include ActiveModel::Serializers::JSON
+ include ActiveModel::Conversion
#Callbacks
define_model_callbacks :create, :save