Validation and STI

i got a problem with validation and sti class

Account < ActiveRecord::Base
validates_uniqueness_of :field1


User < Account


i created a few User models in the bootstrap file and i noticed that
the validation does not work.
Do you know why?

What version of rails are you using?

I just read “This seems to be a regression issue
on Rails 2.3, works fine on previous rails versions”

On 8 Mar, 22:14, Jay P [email protected] wrote:

What version of rails are you using?
i’m using rails 2.3.5
i tried to insert some User models with the web interface and the
validation works there. maybe it’s only an sql cache issue.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs