search for: menurecip

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

Did you mean: menurecipe
2012 Apr 02
0
active admin saving selection from collection_select and passing to controller
...:menu_id, Menu.all,:id,:name,:prompt => true%> </p> <%= f.buttons :commit %> <%end%> when ever i try to catch the and create or group it, it comes with a Couldn''t find Recipe without an ID error my active admin controller which i override is ActiveAdmin.register MenuRecipe do menu :parent => "Manage Package" form :partial => "menu_recipe" controller do def new new! do |format| @menu_recipe = MenuRecipe.new end end def create create! do |format| recipe = Recipe.find(...