Hello. I need to pass a user_id that I have in a session var to a before_save callback. Is it possible? Thanks
on 2007-07-13 11:45
on 2007-07-13 12:21
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. -- We develop, watch us RoR, in numbers too big to ignore.
on 2007-07-13 12:24
Thanks... I will do just that...