When using the :message symbol in a validation check in one of my
models, how do you get that message back to the view to be displayed?
validates_uniqueness_of :card_num, :scope => [:issuing_company,
:user_id], :message => ‘Duplicate Card Infmroation Entered’
I would like that error message to be displayed in a div in my app.