On Jun 7, 8:30 pm, "J. D." <[email protected]> wrote:
> I think I found my own answer to the last question - a single class
> cannot inherit across multiple classes. :(
>

Does Scraper need to be an activerecord class at all ? you could pass
to it the class whose table needs to be updated ie

def do_something(some_klass)
  some_klass.update_all(...)
end

or perhaps you might want to couple things a little more loosely

def do_something(some_klass)
  some_klass.handle_scraper_data(...)
end

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