# !map:HashWithIndifferentAccess

**URL:** <https://www.ruby-forum.com/t/map-hashwithindifferentaccess/155391>\
**Category:** Rails\
**Created:** [December 11, 2008, 11:19am UTC](https://www.ruby-forum.com/t/map-hashwithindifferentaccess/155391 "2008-12-11T11:19:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbalaji](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@rbalaji](https://www.ruby-forum.com/u/rbalaji)\
**Post date:** [December 11, 2008, 11:19am UTC](https://www.ruby-forum.com/t/map-hashwithindifferentaccess/155391/1 "2008-12-11T11:19:31Z")

</div>

Hi

Im using list page and dubug the code and i got the error

!map:HashWithIndifferentAccess  
controller: wizard  
page: !str 2  
id: !str 9  
action: index

## index.html

\<% for resort\_basic in @resort\_basics %\>

 \<%=h resort\_basic.website %\> \<%= link\_to 'Show',:action=\>'show',:id =\>resort\_basic %\> \<%= link\_to 'Edit',:action=\>'edit',:id =\> resort\_basic %\> \<%= link\_to 'Destroy', :id =\> resort\_basic, :confirm =\> 'Are you sure?', :method =\> :delete %\> \<% end %\> ------------------------------------------------------------- edit .html

\<%= debug(params)%\>

\<% form\_for(@resort\_basic) do %\>

### Edit Resort Basic

| **Resort Name** | 

```
        <%= text_field_tag :resortname %>
    </td>

</tr>

```

* * *

wizard\_controller

def edit

@resort\_basic =ResortBasic.find(params[:id])

# if request.post?

#@resort\_basic.update\_attributes(params[:resort\_basic])

# flash[:notice] = ‘Resort was successfully updated.’

end

* * *

and click the edit button i got the error

— !map:HashWithIndifferentAccess  
controller: wizard  
id: !str 9  
action: edit

i click the edit button values are not displayed in textbox.ID value is  
9  
and ID value is correct in database but doesn’t value displayed in text  
box.  
I can’t understand the error.so give any idea.thanks for ur help

 |
