similar to: Site Navigation With Polymorphic Has Many Through

Displaying 20 results from an estimated 200 matches similar to: "Site Navigation With Polymorphic Has Many Through"

2006 Jun 17
5
Having trouble listing tiers of categories
I have categories and sub-categories in a table called "categories". Every row has a "parent" field to note if the entry is the sub-category of another (never goes deeper than 1 level). So there might be something like this: id | name | parent 1 Dog 0 2 Pug 1 3 Siamese 5 4 Shih Tzu 1 5 Cat 0 6 Wiener Dog 1 7 Persian
2007 Apr 11
1
Cisco IP Phone services.xml sample?
Does anyone have a small, plain services.xml file for a cisco ip phone, preferably one that will work on a 7960? I can't seem to get my xml right, and no matter what I send to the phone I keep getting parse errors. Thanks Shawn
2005 Dec 16
2
HOW DO I populate options from previous option click
Hi, I have a form with three drop down option lists. Currently each of these contain full listings as instantiated in the controller on entering the edit action. What I would like to do is filter the second list based on what the user selected on the first and the third filtered to reflect the second. For example I have major_role, role and person_in_role = role is a subset of major_role
2006 May 23
7
has_and_belongs_to_many question
Hello, I am trying to make the "switchover" to programming my apps in Rails and have a question about database structure. In the past i would structure a many to many like this: categories ---------------------------------------------------- | id | name | ---------------------------------------------------- 1 Some Category 2 Another
2001 Sep 12
1
Small OggDrop menu patch
Hi, This one adds shortcuts to the pop up menu. -- Olaf van der Spek http://xcc.tiberian.com/ Index: Script.rc =================================================================== RCS file: /usr/local/cvsroot/win32-tools/oggdrop/Script.rc,v retrieving revision 1.5 diff -r1.5 Script.rc 77c77 < POPUP "Bitrate" --- > POPUP "&Bitrate" 88c88 <
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'':
2008 May 11
2
instabilities in wxRuby 1.9.6
I have recently started to use wxRuby, because I have used the wxWidgets library from C++ for a few years and found it an excellent toolkit. I am using Ubuntu 8.04 and version 1.9.6 of wxRuby. A problem though is a number of instabilities. This may be due to my own ignorance, but I have usually found C++/wxWidgets, once the program compiles it will at least stay working, if at times
2007 Feb 26
24
Ruby/rails port of Cocoon/hibernate
Hi, I''m currently running an apache/jboss cocoon/flow/hibernate/ajax paypal (directpayment) project and am looking into the possibility of porting it across to ruby/rails. For that reason I would like to know the following: 1. Can I call my java classes or would I be looking at a complete rewrite in ruby? 2. How effective is ruby in terms of seperation of concerns regarding design from
2002 Mar 04
1
String Resources & Popup Problem
Ok, that's done. Now after this the should compile and run : in En.rc MAIN_MENU is defined now like this : MAIN_MENU MENU { POPUP "&File" { MENUITEM "&New...", 0x100 En.rc is included by #include "En.rc" in rsrc.rc. And gcc complies about it when compiling : [syl@snoop notepad]$ make gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall
2009 Nov 12
1
Please help me ------ Mapping an item to article
Hi everybody, I have a form like this <h1>New menuitem</h1> <% form_for(@menuitem) do |f| %> <%= f.error_messages %> <p> <%= f.label :title %><br /> <%= f.text_field :title %> </p> <p> <%= f.label :alias %><br /> <%= f.text_field :alias %> </p> <p> <%= f.label
2008 Jan 04
2
problem with Menu.append_check_item()
Menu.append_check_item(), like Menu.append(), is supposed to return a reference to the created menu item. Here is a test code which seems to show that this behavior works for append(), but fails for append_check_item(). This is the output I get: % ruby test-menu.rb #<Wx::MenuItem:0xb74c036c> nil Am I missing something or is this a bug? Both menu items are created and work as expected. I
2006 Apr 09
1
select helper question
Hi there, I try to develop a medical application using ruby on rails. There are many categories which can contain subcategories. I defined the model like this: class Category < ActiveRecord::Base has_and_belongs_to_many :notes belongs_to :parent_category, :class_name=>"Category", :foreign_key=>"category_id" has_many :sub_categories,
2010 Jun 04
6
Ajax fails in IE8
hi guys, I am testing a new optional funtionality in my site with IE 8 after success with Firefox 3.6.3, chrome and safari. The new functionality basically sees a "sub category" drop down list get generated in my form as soon as a "Category" value is selected from the "Category" drop down list. I have been using the standard rails api such as observe_field, and
2004 May 03
1
Sub-menus?
Hey guys, I have been trying unsuccessfully to create a menu that holds "sub-menus". To clarify, I want something along the lines of when you click on a File menu, then see the "New" menu, which you can click on to open a new layer of menus. Is this supported yet in WxRuby? Robert _________________________________________________________________ Getting married? Find
2005 Apr 12
5
patch to add a menu item in Rgui for RSiteSearch
Please consider adding the following to the next R release (I understand that it's too late for R-2.1.0). It adds the menu item `Search R Site' in the `Help' menu in Rgui (which calls RSiteSearch() on the input string). Best, Andy --- R-beta/src/gnuwin32/rui.c 2005-03-06 09:41:40.000000000 -0500 +++ R-beta-new/src/gnuwin32/rui.c 2005-04-12 08:21:55.001824500 -0400 @@ -65,7 +65,8 @@
2004 Aug 26
18
wxRuby 0.5.0 has been released!
wxRuby 0.5.0 has been released and is now available for download from RubyForge at http://wxruby.rubyforge.org/ This release includes binary builds for Max OS X and MS Windows. Please report any bugs or feature requests here: http://rubyforge.org/tracker/?group_id=35 Changes in this release include: * Added XRC (Xml Resource File) support. * Added totally awesome HTML widget from Tobi
2006 Jul 28
12
MenuEngine
Hi all, MenuEngine is a small Rails engine that can generate templated drop-down DHTML menus commonly used for web site navigation. Supports creation of menus from a YAML file, from code and from pre-configured HTML. Optionally integrates with UserEngine for authorization. http://www.muermann.org/ruby/menu_engine Project page: http://rubyforge.org/projects/menuengine This is my first attempt
2005 Aug 10
1
another small patch
This is a fix for MenuItem, on Mac OS it only has 1 constructor so the second one has #ifndef __WXMAC__ #endif around it Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Jan 28
1
Submenues
Hello wxruby users, Kevin, thank you for the answer about the status bar flicker. I think this is a question for wxWindows mailing lists. It''s great that 0.2 version will be released soon! It is impossible to create submenues in 0.1. Could you add the ruby function append_submenu(id, item, submenu, helpString) to the Wx::Menu class in 0.2, which calls the wxWindows function void
2007 Jul 05
8
when can publish the next version?
when can publish the next version? i am waiting... _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users