search for: an_articl

Displaying 1 result from an estimated 1 matches for "an_articl".

Did you mean: an_article
2010 May 22
0
Remote ActiveRecord relation (over network)
...ticle if not hosted on the same database then a user. For example, If an article exists at http://foo.com/articles/3 and a user exists at http://bar.com/users/1, If would like to be able to do from http://foo.com web interface or http://bar.com web interface this kind of query: a_user.articles (or an_article.users). I think this can be possible adding a field like "url" in users and articles tables. But I don''t know how to process for ActiveRecord. My Article model looks like this: class Article < ActiveRecord::Base has_and_belongs_to_many :users end Is there yet some exam...