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...@...>
wrote:
> Sorry , for that but i am seeking for help regarding
> validates_associated
> !
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk@...
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-~----------~----~----~----~------~----~------~--~---