How to validate with validates_associated

Is any one have idea !

Please refrain from bumping so often, at the very best, it will annoy people who would be willing to help you...

Felix

Sorry , for that but i am seeking for help regarding validates_associated !

I haven't used validates_associated before, but if you read the documentation (api.rubyonrails.org), it says the following:

NOTE: This validation will not fail if the association hasn‘t been assigned. If you want to ensure that the association is both present and guaranteed to be valid, you also need to use validates_presence_of.

Are you sure a bannerimage has been assigned to your banner object?

On Jul 9, 8:59 pm, Ruby on Rails <rails-mailing-l...@andreas-s.net> wrote: