Displaying 1 result from an estimated 1 matches for "webimag".
Did you mean:
webimage
2005 Dec 31
2
Validation errors not displaying and will not save
...tly 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
#validation routines
validates_presence_of :title
protected
def validate
#doesn''t see...