Validates_uniqueness_of serialize

ActiveRecord bug ?

validates_uniqueness_of

doesn’t work with

serialize

I’m trying to serialize, unserialize an Array-type property of a Object
instance, and validate that the Array or serialized version is unique
within the the scope of another property using :scope

does anyone know a work around ?

Anthony G.

I did a search on Rails Bug tracking system, there are no existing
bugs on this issue.

http://dev.rubyonrails.org/ticket/544

You can open a new ticket with a failing test case at the above URL.