Displaying 1 result from an estimated 1 matches for "web_image".
Did you mean:
fb_image
2005 Dec 31
2
Validation errors not displaying and will not save
...cord object..... but something seems to be wrong... when
I test the validation does not seem to work (I deliberatly leave the
"title" text_field black)... I never get my error_messages_for..
furthermore the object never saves even when I do fill out all the
necessary fields....the if @web_image.save always returns false .....
I''m going mental.....
model code:
------------------
class WebImage < ActiveRecord::Base
#setup relationships # commented these out because thought they might
be the prob
#has_and_belongs_to_many :categories
#has_and_belongs_to_many :articles...