Displaying 2 results from an estimated 2 matches for "event_city".
2007 Apr 09
2
GridTableBase problem
Trying to setup a GridTableBase to hold some floating point numbers for
a Grid. Getting an error with the following:
table = Wx::GridTableBase.new
Error:
C:/ruby/work/wxtest/test.rb:151:in `on_find'': uninitialized constant
Wxruby2::Gr
idTableBase (NameError)
from
c:/ruby/lib/ruby/gems/1.8/gems/wx_sugar-0.1.14/lib/wx_sugar/event_c
onnector.rb:123:in `call''
2006 Sep 24
8
form_for and Multiple Models Being Saved
...for the
variable, etc...
Has someone else done this? Any quick pointers?
Beyond that, a related question. Some of these helpers support the :index
option which I believe is designed to differentiate between multiple items
of the same type in a form.
Something like this:
<%= form.text_field :event_city, :index => @event_date.id %>
But, for an unsaved item, @event_date.id will be nil so what do folks use to
handle this?
Any help very much appreciated.
Cheers,
Hunter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google...