Where is my message

I am using this model validation: class Mailadress < ActiveRecord::Base   belongs_to :maillist

  validates_size_of :desc, :maximum => 50, :message => 'Description too long!' end

When I try to update with inproper size update fails but where is the error message.

p flash returns {}

Rails is 2.2.2.

by TheR

I am using this model validation: class Mailadress < ActiveRecord::Base belongs_to :maillist

validates_size_of :desc, :maximum => 50, :message => 'Description too long!' end

When I try to update with inproper size update fails but where is the error message.

p flash returns {}

Are you putting an error message in the flash ?

Fred

Frederick Cheung wrote:

Sorry, without seeing some code I'm not at all sure what you're on about.

Fred

Frederick Cheung wrote: