search for: current_user_greg

Displaying 1 result from an estimated 1 matches for "current_user_greg".

Did you mean: current_user_gregs
2006 Sep 09
2
why doesn't this work (setting attribute in "before_create")
Hi, Can anyone spot why the below doesn''t work? * I have a "created_by" column in my create table in the dB * I have a "before_create" line, which definitely gets called * I tried a few different ways to set the "created_by" attribute in the model but it doesn''t seem to work, i.e. doesn''t appear in the database