NoMethodError with unexpected nil object in ERB

When viewing @product variable by running this flow in Aptana debug mode
and stop it at erb source code, @product seems to have information and
not nil (See attached). I was trying to copy standard rails
controller/erb approach for other method, but it's not working well for
this. May I have any advice? Thank you.

is an instance of AmazonProduct look enough like an ActiveRecord model
that you can pass it to form_for like that ?

Fred

Frederick Cheung wrote: