In order to trim my controllers down and keep the code in the correct
place, I am trying to refactor:
@user.travels.create(:name => …, :date => …, :ip => request…,
So my questions are:
is create() an instance method of Travel? I have doubts, since
Travel.create is a class method.
how to write my register method() so that it behaves like create()?
Thanks for your help.