From: Sijo Kg Date: 2008-10-07T16:09:53+09:00 Subject: Inject two more values to an HashWithIndifferntAccess Hi I have @search_sd_ticket=ServiceDeskTicket.record_paginate(params[:sd_ticket],params[:page]) Here class of params[:sd_ticket] is HashWithIndifferntAccess for example {"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 {"start_date"=>"","end_date"=>"","number"=>"2", "primary_assignee_id"=>"", "service_desk_status_id"=>"", "service_desk_priority_id"=>""} Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.