lib/materialist/materializer.rb in materialist-0.0.3 vs lib/materialist/materializer.rb in materialist-0.0.4

- old
+ new

@@ -121,10 +121,10 @@ def after_destroy options[:after_destroy] end def model_class - options.fetch(:model_class).to_s.classify.constantize + options.fetch(:model_class).to_s.camelize.constantize end def attributes build_attributes resource_at(url), mapping end