[Rails] Re: Some part of class in ActiveRecord

2015-07-22 Thread Julien Brochet
eung a écrit : > > > > On Wednesday, July 22, 2015 at 10:52:16 AM UTC+1, Julien Brochet wrote: >> >> Hello ! >> >> I've a question regarding Rails and Active Record. >> >> I've a class, for instance "Host" witch is populated wit

[Rails] Some part of class in ActiveRecord

2015-07-22 Thread Julien Brochet
Hello ! I've a question regarding Rails and Active Record. I've a class, for instance "Host" witch is populated with data from a remote API. I call a specific address and create my object. My object has a specific and unique ID. I would like to add additional data to this object. This dat