Hi i used the code in editresortbasic.html.erb

<% form_for @editresortbasic do %>

wizard controller.rb
--------------------------------------

def editresortbasic

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

  if request.post?
   @resort_basic.update_attributes(params[:resort_basic])
  end

But i click the edit button and i got the text box empty.Im new in ruby and
here im only person doing this application and i can't understand the
error.So i frequently asked the question to you.Thanks for ur help.give any
idea?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to