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 %>

<%=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 %>



def edit

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

if request.post?


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 error.so give any idea.thanks for ur help

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs