On Thu, Sep 11, 2008 at 1:43 PM, pepe <[EMAIL PROTECTED]> wrote:
> I create a module ('my_module.rb') with my code and just drop the file
> in folder 'lib', not in 'lib/tasks'. Then I issue a require
> 'my_module' in my models and I'm ready to rock & roll?

That's right.

-- 
http://lindsaar.net/
Rails, RSpec and Life blog....

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