I have an ActiveRecord participant model, and I want to create a method that will extract elements from an external source and synchronize them with the members in the database already.
I do not know where I should put this method, which will be called. It seems like I should not put it in the controller, since that is a lot of logic, but I don’t know if I can add it to the model, since this seems to work only with the string.
Any advice would be appreciated, I'm new to RoR
Christopher
source
share