mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
changed rails -> Rails at two places
This commit is contained in:
parent
d9490631d2
commit
e6cebce48c
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ require 'openssl'
|
||||||
module ActiveSupport
|
module ActiveSupport
|
||||||
# KeyGenerator is a simple wrapper around OpenSSL's implementation of PBKDF2
|
# KeyGenerator is a simple wrapper around OpenSSL's implementation of PBKDF2
|
||||||
# It can be used to derive a number of keys for various purposes from a given secret.
|
# It can be used to derive a number of keys for various purposes from a given secret.
|
||||||
# This lets rails applications have a single secure secret, but avoid reusing that
|
# This lets Rails applications have a single secure secret, but avoid reusing that
|
||||||
# key in multiple incompatible contexts.
|
# key in multiple incompatible contexts.
|
||||||
class KeyGenerator
|
class KeyGenerator
|
||||||
def initialize(secret, options = {})
|
def initialize(secret, options = {})
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module ActiveSupport
|
module ActiveSupport
|
||||||
# lazy_load_hooks allows rails to lazily load a lot of components and thus
|
# lazy_load_hooks allows Rails to lazily load a lot of components and thus
|
||||||
# making the app boot faster. Because of this feature now there is no need to
|
# making the app boot faster. Because of this feature now there is no need to
|
||||||
# require <tt>ActiveRecord::Base</tt> at boot time purely to apply
|
# require <tt>ActiveRecord::Base</tt> at boot time purely to apply
|
||||||
# configuration. Instead a hook is registered that applies configuration once
|
# configuration. Instead a hook is registered that applies configuration once
|
||||||
|
|
Loading…
Reference in a new issue