search for: activity_grp

Displaying 1 result from an estimated 1 matches for "activity_grp".

Did you mean: activity_group
2011 Oct 05
3
Rails 3 Select_tag in javascript give missing ; error
When I write var x = "<%= select_tag(:activity_group, options_for_select(activity_grp),{:include_blank => ''Create New Group'', :style => ''width: 100px''}) %>"; where <% activity_grp = @activity_group.map { |ag| [ag.name, ag.id] } %> However, I get error (missing ; before statement) in Firebug because var x = "<select...