Colin Law wrote: > On 7 March 2010 19:42, Michael Rigart <[email protected]> wrote: >> run it through the browser. > Foo.bars is not valid as Foo is a class not an instance, or is that > just a typo here? It should be something like > foo = Foo.new > then use foo.bars > > Colin
@Colin: yes, sorry for the mistake. I do run foo = Foo.new and then foo.bars. @Fred: just entered a break point. Seems like a normal object of type Foo with all its attributes present, except for the associations and self declared methods inside my model -- 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.

