Use ActiveSupport::SecureRandom to generate tokens (#3351).
Authored by: jplang 2009-05-13
Parent: [r2739]
Child: [r2741]