Forum: Ruby Inject two more values to an HashWithIndifferntAccess

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sijo k. (Guest)
on 2008-10-07 11:11
  I have

Here class of params[:sd_ticket] is HashWithIndifferntAccess   for
{"number"=>"2", "primary_assignee_id"=>"", "service_desk_status_id"=>""}

      I am also passing params[:start_date] and params[:end_date]  So my
problem is how can I inject this start_date and end_date also into the
above params[:sd_ticket]   then it becomes like

"primary_assignee_id"=>"", "service_desk_status_id"=>"",

Thanks in advance
Brian C. (Guest)
on 2008-10-07 11:17
This sounds like a Rails / ActiveSupport / ActionPack question, which
would be better asked on a Rails mailing list.
This topic is locked and can not be replied to.