search for: cchea

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

Did you mean: cchem
2010 Mar 18
5
One-time script to update 1000s of values in a single column in a table: nil error?
Hi, I have a model called Stock with a value called "strength." I wrote a simple method in the Stock.rb model file to update the value of "strength" for each record in the stocks table. I created a controller called fix_controller.rb. I don''t have access to the live system, so the idea is that an admin will go to http://url/fix and a script will run to check and