Displaying 1 result from an estimated 1 matches for "generatereportscontrol".
2008 Sep 15
2
Passing an array into controller
...me = []
for plan in @plans
@planname << " " + plan.plan_name
end
flash[:notice] = "Plans picked = #{@planname}"
#...
end
I select plans with the id 58 and 32. It only seems to find the item
58???
Here is what my development log looks like:
Processing GenerateReportsController#process_state (for 127.0.0.1 at
2008-09-15 17:23:55) [POST]
Session ID: e78dc6d1d0552aa6551bd18996c5c48e
Parameters: {"action"=>"process_state",
"controller"=>"generate_reports"}
User Load (0.002074) SELECT * FROM users WHERE (id = 25) LIMIT...