In my rake task I try to use the classes and methods defined in a
plugin.
Seems that plugins are not hooked up during the rake task run.

Models are also not hooked up.

I can require 'ModelName'
I can require 'activerecord'

But my Model depends a lot on the plugin (globalize) and initiation of
the whole globalize plugin in the .rake file would be a mess.

What is the simplest way to hook up the whole environment during the
rake task?

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
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