Displaying 1 result from an estimated 1 matches for "goal_scopes".
2006 Jan 21
0
Select box problems
...' for
{"scope"=>"Yearly"}:HashWithIndifferentAccess"
The code from list.rhtml is
<%= start_form_tag :action => ''list'' %>
<p>View goals by scope:
<%
options = [["Select the Goal''s Scope", ""]] + Goal::GOAL_SCOPES
%>
<%= select("goal", "scope", options) %>
<%= submit_tag ''Go'' %>
</p>
<%= end_form_tag %>
and the list method is
def list
log = Logger.new(STDERR)
log.level = Logger::DEBUG
#log.debug(params[:goal][:scope])
@go...