Forum: Ruby on Rails !map:HashWithIndifferentAccess

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.
Balaji R. (Guest)
on 2008-12-11 12:19
(Received via mailing list)

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

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


<%  for resort_basic in @resort_basics  %>

        <td class="text1"><%=h %></td>
    <td class="text1"><%= link_to 'Show',:action=>'show',:id
                      <%= link_to 'Edit',:action=>'edit',:id =>
                      <%= link_to 'Destroy', :id => resort_basic,
=> 'Are you sure?', :method => :delete %>
<% end %>
edit .html

<%= debug(params)%>

<% form_for(@resort_basic) do %>

<!--% form_for @editresortbasic do %-->

   <h3 align="center">Edit Resort Basic</h3>
 <table align="center">
           <b>Resort Name</b>

            <%= text_field_tag :resortname %>




def edit

  @resort_basic =ResortBasic.find(params[:id])

 # if
  #      flash[:notice] = 'Resort was successfully updated.'

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
and ID value is correct in database but doesn't value displayed in text
I can't understand the give any idea.thanks for ur help
This topic is locked and can not be replied to.