# File lib/generators/mongoid/oauth_provider_templates/oauth_nonce.rb, line 19 def self.remember(nonce, timestamp) oauth_nonce = OauthNonce.create(:nonce => nonce, :timestamp => timestamp) return false if oauth_nonce.new_record? oauth_nonce end