Displaying 1 result from an estimated 1 matches for "surgery_d".
Did you mean:
surgery
2006 Jul 12
2
Can''t get observe_field to take a variable for a field name
The subject pretty much says it all: I can''t?get observe_field to take a
variable for a field name
I''ve tried:
<%= observe_field(var_name, ...
<%= observe_field("#{var_name}", ...
<%= observe_field(:"#{var_name}", ...
No luck.
Am I missing something?
Thanks,
: )
Jason
--
Posted via http://www.ruby-forum.com/.