Displaying 20 results from an estimated 300 matches similar to: "One or Multiple Controllers"
2006 Feb 25
1
checkbox helper question
I used scaffolding, then modified. As an after thought I added a
"boolean" checkbox to my database, form with this tag
<p>
<%= check_box ''is_hot_item'', @photo.is_hot_item %>
<label for="is_hot_item">hot item?</label><br>
</p>
I check it and save. But I don''t get 1 saved in my database field.
:(
I have just the
2006 Mar 09
1
ActionMailer Question -- can''t find email templates
I have a PageController that displays a form. The form is just
straight HTML, I only used the form helpers for the form tag as so:
--
<%= form_tag({:action => :send_request}, {:method=>:post,
:name=>''childsplay''})%>
--
In my page controller I have this:
--
def send_request
email = InfoMailer::deliver_sendrequest(params)
end
---
in my action mailer class I
2006 Mar 02
7
The no-framework PHP MVC framework
"The no-framework PHP MVC framework"
http://toys.lerdorf.com/index.php?url=archives/38-The-no-framework-PHP-MVC-framework.html
Yuck! What spaghetti code. I can''t ever imagine preferring that to
Rails.
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Mar 03
13
Listing help
Hi,
I''ve created a Rails application and am having a problem listing by a
particular category in an associated table. I followed the instructions
found at the O''Reilly tutorial
(http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html?page=3) but have
not had success. Can anyone please outline a better set of instructions
than in the "Showing Recipes in a
2006 Apr 26
0
JOB: Bandzoogle.com
Bandzoogle.com, the leading website builder for bands, is looking a web
application developer to join our team. We are a stable, profitable, fun and
fast growing web company with a tremendously supportive user base.
Some symptoms that you might fit in at Bandzoogle:
- You get really excited when you play with elegant web frameworks
like Rails, Dojo, and Prototype (uncontrollable giggling is an
2009 Apr 08
1
menu module behaviour for menu exit
Hi,
I was looking for a way to have a submenu go back to the previous menu
when you use Escape inside the submenu. Or to return back to a menu when
you return from a com32 entry (eg. kbdmap, hdt or rosh).
I had hoped something like this worked:
----
default bootlocal
prompt 1
label menu
menu hide
kernel menu.c32
label bootlocal
menu hide
localboot -1
menu begin main
menu
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
2012 Jul 06
1
Bug#680479: xen-utils-4.0: pygrub does not support grub2 submenus
Package: xen-utils-4.0
Version: 4.0.1-5.2
Severity: important
Tags: upstream patch
pygrub in Debian Squueze does not support Grub2 submenus. At least
Ubuntu Precise uses a submenu for older kernel versions, so a Precise
domU with more than one kernel installed will be unbootable (without
manual fixes) on a Squeeze dom0.
Attached is a patch that adds submenu support to pygrub.
-- System
2007 Nov 01
1
Rcmdr Plugin and menus.txt
Hi all,
I'm trying to write a plugin for R Commander, following the model of
the TeachingDemos plugin. I am struggling trying to even add items by
editing the menus.txt file. I would welcome any help from anyone who
has messed with it. Essentially the problem I am having is: I cannot
create a submenu to a newly created menu. Here is what the menus.txt
file looks like:
# type
2004 Jan 21
2
[Fwd: Re: Comboot Menu]
Thanks for the comment. The next pass for a file format ...
------ FILE BEGINS -----
# Comment lines
[menu]
item="text to display"
status="status line text"
action= SUBMENU | INACTIVE | whatever
submenu= <number>
data="arbitrary string"
item="text to display"
status="status line text"
action= SUBMENU | INACTIVE | RUN | EXIT
submenu=
2014 Sep 11
0
Arrow key feature request
> Since keystrokes were brought up, this seems like a reasonable time to
> make the following seemingly simple-to-implement feature request:
>
> Navigating a multi-level menu structure seems to require use of
> UP/DOWN/ENTER/ESC. It would be easier to quickly search/navigate if it
> could be done with fingers stationed on the arrow keys so that the eyes
> can stay focused
2009 Mar 24
1
menu.c32 changes the key binding in tera term confusing user
Hi all:
Well it looks like my declaration of having a working menu system was
a tad premature.
If I enter any of the submenu's using the enter key on my keyboard, it
selects (and runs) the first item on the submenu. If I type ^j
instead, it enters the menu and I can scroll through the options. If I
type ^M, it acts like I hit the enter key and runs the first menu
item.
Now in my terminal
2005 Mar 30
1
menu.c32, submenus
I am trying to create submenus, or more specifically a single submenu, using PXELINUX and the menu.c32. I have a tftp share with a basic config:
/ (root of tftp)
pxelinux.0
menu.c32
/diskdiag (dir)
/diskdiag/dskdiag.0
/pxelinux.cfg (dir)
/pxelinux.cfg/default
/pxelinux.cfg/dskdiag
one of the menu items in /pxelinux.cfg/default is as follows:
LABEL DISKDIAG
MENU LABEL [^B] Disk Diagnostics
2012 Jul 25
1
submenus and menu title
From
http://www.syslinux.org/wiki/index.php/Comboot/menu.c32
*** QUOTE - BEGIN ***
MENU BEGIN [tagname]
MENU END
Begin/end a submenu. The entries between MENU BEGIN and MENU END form a submenu, which is marked with a > mark on the right hand of the screen. Submenus inherit the properties of their parent menus, but can override them, and can thus have their own
2006 Nov 22
2
Problem with "additional" submenus
Hello all,
First off, thanks for the great work.
I have recently added "more submenus" to a functioning advanced menu
that only had one "submenu off of the main menu before" The addition of
the new submenus has caused the main menu to not function correctly and
I have been pouring over the code for several weeks and I just cannot
see the error that I have introduced. This
2011 Jul 14
1
PyGrub And Grub2 Submenus
I recently updated the kernel on an Ubuntu 11.04 PVM domU. The dom0 is an up
to date Debian Squeeze host (Xen 4.0.1). Attempting to start the domU after
this with xm create gives "Error: Boot loader didn''t return any data!". I
ran pygrub against the domU manually, I got the following:
Traceback (most recent call last):
File "/usr/lib/xen-default/bin/pygrub", line
2012 Sep 06
1
Menu system bug - MENU DEFAULT not working
Hello,
I'm reporting a bug, see attached syslinux.cfg
I'm using submenu entries to emulate checkbox inputs.
The idea is simple, there are submenus generated for all possible cases,
and each Enter keypress loads appropriate submenu section.
The logic of the menu is correct. Just syslinux has some bug.
It doesn't set MENU DEFAULT properly for all submenus.
If your first Enter keypress
2006 May 15
8
set_table_name and self.table_name
I have some legacy tables that I used set_table_name on, I''m attempting
to write a method that will get key value from a sequence table and then
update it and return a value. I''m hoping to put this in the base
ActiveRecord method so I would like to reference the table name with
self.table_name or something...
class Contacts < ActiveRecord::Base
set_table_name
2006 Mar 30
0
PXE Linux (Simple Menu) freeze after pressing 23 times return
Yes it sounds silly, but its true.
I made a menu with some submenu with the simple menu system.
After pressing 23 times return to get into the submenu or back to the
mainmenu it freeze.
I think this is a bug of syslinux. I tried it on 3 different PC/Servers
always the same effect.
Here is my default and one of my submenu files:
default:
#Projekt PXE-Boot von Franz Lang www.franz-lang.com
2008 Aug 04
1
About "MENU TITLE" and possible hotkey handling
3.71, using isolinux and simple menu system menu.c32
To avoid having many different menu config files (one for each submenu) I'm
trying switching from the once required syntax
====
MENU LABEL > ^Firmware/BIOS
KERNEL menu.c32
APPEND menufw.cfg
====
to
====
MENU BEGIN
MENU TITLE ^Firmware/BIOS
<stuff that was inside menufw.cfg>
MENU END
====
However, it's not