Hey,

i am very new with handling Ruby on Rails, so i did the Video-Tutorial
of "video2brain".
They use an older Version of Rails (1.8.. - i guess) and in an
controller-file they want me to do the following:

class FormController < ApplicationController
  def index
    @form = Form.find(:first)
    @form.update_attributes(params[:form])

    @detail = @form.detail
    @detail.update_attributes(params[:detail])
  end
end


But now it says, that the method "detail"  (in @details =
@form.detail) does not exist. I tried to get help with google - but
that wasnt succesful.

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