Displaying 1 result from an estimated 1 matches for "admin_accounts_menu".
2006 Jun 15
0
Re: rails question
...tes = params[:festival] # sending in only the name at this point...
if !(@festival.errors.invalid? :name ) # => true if name is invalid
@festival.save_with_validation(false)
@flash[:success] = "You have created a festival."
redirect_to :action => "admin_accounts_menu" and return
end
end
end
but that just seems to go ahead and save a festival with an empty name...
I''d appreciate your help.
Regards,
Shelby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/...