lib/scoped_id/concern.rb in scoped_id-0.0.1 vs lib/scoped_id/concern.rb in scoped_id-0.0.2

- old
+ new

@@ -21,10 +21,10 @@ scoped_ids_definitions << ScopedIdDefinition.new(attr_name, scope) attr_readonly attr_name - validates_uniqueness_of attr_name, scope: scope + validates_uniqueness_of attr_name, scope: scope, allow_nil: true end def scoped_ids_definitions @scoped_ids_definitions ||= [] end