oh nevermind. I just found an article that describes how to do this:
http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial#rails_models
On Jan 14, 12:30 am, eggman2001
<sod...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''d like to automate a task that requires access to my models.
> Specifically, I''d like to fetch some rss feeds and then create
model
> objects from them. I initially thought that I could do this with rake,
> but then I realized that rake doesn''t have access to any of the
rails
> environments. Can someone tell me the right approach do doing this?
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---