Displaying 1 result from an estimated 1 matches for "edit_area".
Did you mean:
dst_area
2006 Jan 23
2
Problems with error_messages_for
...@streets = @area.streets
unless params[:street].nil?
Street.update(params[:street].keys, params[:street].values)
end
if @area.update_attributes(params[:area])
flash[:notice] = ''Area was successfully updated.''
redirect_to :action => ''edit_area'', :id => @area
else
render :action => ''edit_area''
end
end
Thanks so much in advance for any suggestions.
--
Posted via http://www.ruby-forum.com/.