Pedro Cardoso wrote:
I need to pass a user_id that I have in a session var to a before_save callback. Is it possible?
Best way would be to add a user_id attr_accessor to the model, and to set and access that.
Pedro Cardoso wrote:
I need to pass a user_id that I have in a session var to a before_save callback. Is it possible?
Best way would be to add a user_id attr_accessor to the model, and to set and access that.