Re: remote database ActiveRecord model

Ben Munat
Tue, 24 Apr 2007 08:01:30 -0000

Check out establish_connection:

http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M001075

b

Aryk Grosz wrote:
> Does anyone know how to make a model connect to a remote database and
> only for that specific model?
>
> That way I can do the typical CRUD functions on a remote server?
>