Displaying 1 result from an estimated 1 matches for "pconfigsrc".
Did you mean:
pconfig_src
2010 Jan 02
2
Underscore in a model's method causes it not to be called from the form helper
...view with form_for, like:
<% form_for(@game, :html => { :id => "edit_game" }) do |f| %>
...
<%= f.text_area :pconfig_src, :cols => 80, :rows => 40 %>
...
my Game#pconfig_src method will not be called.
But if I change the method''s name to ''pconfigsrc'' and the symbol''s
name accordingly, then it is called.
Why?
Greetings,
Waldemar
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6Z...