Colin Law wrote: > 2009/10/6 Pål Bergström <[email protected]>:
> If you want to call it like that you must make test a class method > rather than an instance method, so it must be > def self.test > .. > > Colin Thanks. I don't fully understand but it works. This means you don't need to require it (?) -- 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 -~----------~----~----~----~------~----~------~--~---

