search for: active_admin_template

Displaying 1 result from an estimated 1 matches for "active_admin_template".

2012 May 15
1
How to handle ActiveRecord::RecordInvalid
...e category = Service::CategoryService.create(params[:category]) if category flash[:notice] = "Category was successfully created." redirect_to params[:button] == "create_and_new" ? new_admin_category_url : admin_categories_url else render active_admin_template(''new.html.erb'') end end end # end controller How to solve it? Please help me. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg...