Skip to content
Browse files

swap ActiveSupport::SecureRandom with SecureRandom to avoid deprecati…

…on warning
  • Loading branch information...
1 parent fc77e8c commit 8e6927613102228589cca8351f95aacb0ff0006c @kristianmandrup committed Aug 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/supermodel/random_id.rb
View
2 lib/supermodel/random_id.rb
@@ -2,7 +2,7 @@ module SuperModel
module RandomID
protected
def generate_id
- ActiveSupport::SecureRandom.hex(13)
+ SecureRandom.hex(13)
end
end
end

0 comments on commit 8e69276

Please sign in to comment.
Something went wrong with that request. Please try again.