Is there an expert validater that can point me in the right direction?
I’ve looked for extended documentation on ‘validates_presence_of’ but i
can’t seem to find any.
I’m trying to make sure that i don’t enter a nil object in my database,
so i’ve added validate_presence_of to my Record Model.
class Record < ActiveRecord::Base
I’m coming up with errors when trying this. Do i need to create a
function to handle the situation when i try leaving a field blank? Does
any one know of a good place to find detailed info on the validates
methods (Please don’t point me to the api, which has nothing worth while