I have a number of validations in client.rb like this…
:maximum => 25,
:message => “Maximum 25 characters and numbers combined”
and in my clients_controller.rb I have this…
@client = Client.find(params[:id])
flash[:notice] = ‘Client was successfully updated.’
flash[:notice] = ‘There was a problem with saving your edits.’
and the first line in my view_code is
<%= error_messages_for ‘client’ %>
my the flash[:notice] (on my layout) displays properly but nothing ever
displays in the view code.
What detail am I missing? Is it because I am using
‘:redirect_to :back’ ?
Craig W. [email protected]