Results 1 to 16 of 16
Jan 25, 2008, 17:14 #1
- Join Date
- May 2007
- 0 Post(s)
- 0 Thread(s)
error_messages_for on Rails 2.0.2
Hello, does something change on Rails 2.0.2 about the using of error_messages_for helper ???
I have just started a new project on 2.0.2 (the first one with this Rails version) and I did, like always
def add_category @category = Category.new(params[:category]) if request.post? and @category.save flash[:notice] = 'Category successfully created' end redirect_to :action => "settings" end end
<%= error_messages_for "category" %>
Thank youAlla prossima ...