On Mar 7, 7:56 pm, Michael Rigart <[email protected]> wrote: > Frederick Cheung wrote: > > On Mar 7, 7:42 pm, Michael Rigart <[email protected]> wrote: > >> run it through the browser. > > >> Now, when I do it through irb, it returns an empty array as expected. > >> Does someone here has any clue how this can happen and what I need to > >> look for, becouse I'm completely clueless. > > > Random guess: does this still occur in production mode ? > > > Fred > > unfortunately is does >
Is Foo defined in multiple places (some editors leave behind backup copies of files that Rails loads anyway) ? If you stick a breakpoint in does the Foo object you have look normal apart from raising an error when bars is called ? Fred > -- > Posted viahttp://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.

