Open morgz opened 13 years ago
This seems to only be for :uniqueness => true
I've written a custom validator called citier_uniqueness in my fork
I'm not exactly sure how the whole "pull/push/fork" stuff works (I come from the SVN world) but, can you merge your stuff with the main project to help it out and keep everything in one place?
class Product < ActiveRecord::Base acts_as_citier validates :name, :uniqueness => true
class Dictionary < Book acts_as_citier
ActiveRecord::StatementInvalid: Mysql2::Error: Unknown column 'view_dictionaries.name' in 'where clause': SELECT 1 FROM
products
WHERE (view_dictionaries
.name
= BINARY 'a book') LIMIT 1