Frederick Cheung wrote:
> On Aug 27, 5:32�pm, Ryoichiro Kamiya <rails-mailing-l...@andreas-
> s.net> wrote:
>>
>> 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

The AmazonProduct is inheriting the Product class which has been 
scaffolded by rails. Is the class which inheriting the ActiveRecord 
model class also assumed ActiveRecord model class?

Class AmazonProduct < Product
-- 
Posted via http://www.ruby-forum.com/.

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