lib/ph_model.rb in ph_model-1.1.3 vs lib/ph_model.rb in ph_model-1.2.0

- old
+ new

@@ -38,11 +38,11 @@ end end end def inspect - attr_info = self.class.attributes.map { |attr_name, info| "#{attr_name}: #{self.send(attr_name).inspect}" }.join(", ") - "#<#{self.model_name} #{attr_info}>" + attr_info = self.class.attributes.map { |attr_name, info| "#{attr_name}: #{self.send(attr_name).inspect}" } + "#<#{self.model_name} #{attr_info.join(', ')}>" end # Monkey patch #assign_attributes inside ActiveAttr::MassAssignment # so that it doesn't blindly ignore attempting to assign attributes which do not # exist