lib/can_be/processor/instance.rb in can_be-0.2.0 vs lib/can_be/processor/instance.rb in can_be-0.2.1

- old
+ new

@@ -47,10 +47,10 @@ return unless has_details? classname = @config.details[t.to_sym] if classname - @model.details = classname.constantize.new + @model.details = classname.to_s.camelize.constantize.new else @model.details_id = nil @model.details_type = nil end end