fix files list in gemspec
merged with Mygrid annotations
remove before_validation overriden method, instead using before_validation=>:set_identifier
replace ActiveRecord::Base.send(:class_name_of_active_record_descendant, self).to_s by self.base_class.name
base_class is a class method
replace errors.add_to_base by errors[:base]