search for: menu_ids

Displaying 8 results from an estimated 8 matches for "menu_ids".

Did you mean: menu_idx
2006 Aug 03
3
HELP: multiple select list in ror
Hi Search doesn''t seem to be working so my apologies if this has come up before. I have some simple code in a view that generates a multiple select: <select name="menu_select" size="5" multiple="multiple"> <% for m in Menu.find(:all) %> <!-- this needs to be abstracted in ror fashion --> <option value="<%= m.id %>"
2006 Apr 07
0
Updating a relationship in a has_many and belongs_to
As the subjects suggests I''m trying to reiterate through certain pages, assigning them to certain menus. My code is as follows When I run the Below the position updates fine, but the menu_id in Page doesn''t seem to change it all. params["group_#{params[:id]}"].each_with_index do |id, position| Page.update(id, :position => position + 1, :menu => menu) end
2012 Apr 02
0
active admin saving selection from collection_select and passing to controller
hi i am using active admin for my app i have a partial with a drop down list where the menu and recipe are populated this page is to group the recipe in a menu _menu_recipe.html.erb <%= semantic_form_for [:admin, @menu_recipe] do |f| %> <p> <%= f.collection_select :recipe_id, Recipe.all,:id,:name,:prompt => true%> </p> <p> <%= f.collection_select :menu_id,
2006 May 10
2
Ordering of subsets in a model.
Alright, I got this table with lots of entries for menus. There''s several menus (with their own model since each menu got some special information). Now, I want to be able to specify the order of the menu entries inside the menu. acts_as_list seems to not quite do the trick since it does ordering "globally" on the whole model and acts_as_nested_set seems like overkill since
2003 Jul 18
1
Techfone VOIP phone
I ran across this company today and wondered if anyone was using their phone: http://www.techfone.com/ it's only $189 and has pretty good features for a VOIP phone although it's only got H323 (no SIP support). Has anyone seen these or is using one of these with Asterisk? If not, I'm going to see if I can get one for testing. MATT---
2012 Aug 25
0
accepts_nested_attributes_for and fields_for not working!
I want to be able to create one menu object that has fields_for :brunch, :lunch, and :dinner. The menu object has_many brunches, lunches, and dinners, but each time I "edit", only one brunch, one lunch, and one dinner object are added. I''m using carrierwave to upload brunch_menus, lunch_menus, and dinner_menus (attributes of brunches, lunches, and dinners respectively) as
2006 Dec 24
0
[802] trunk/wxruby2/swig/classes: Add support for MenuEvent (MENU_OPEN, MENU_CLOSE, MENU_HIGHLIGHT)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Jul 07
9
Search on data accross many tables, linked by belongs_to
I am using Ferret and acts_as_ferret, as my search back-end for my Rails project. I have a question about using acts_as_ferret on a main table that is linked to other tables by foreign keys. Is there a way to include the information linked by the belongs_to keyword in the search results ? As an example, let''s say I have a main table ''posts'':