Purged git history and removed sensitive information.

This commit is contained in:
Luke Barratt 2014-03-23 00:22:25 +00:00
commit 6bcc8dc76b
862 changed files with 25312 additions and 0 deletions

View file

@ -0,0 +1 @@
NewRelic::Agent.after_fork(:force_reconnect => true) if defined? Unicorn

View file

@ -0,0 +1,11 @@
module ActionDispatch
class Cookies
class SignedCookieJar
def initialize(parent_jar, secret)
ensure_secret_secure(secret)
@parent_jar = parent_jar
@verifier = MessageVerifier.new(secret,:serializer=>YAML)
end
end
end
end

View file

@ -0,0 +1 @@
Ensl::Application.config.secret_token = ENV['APP_SECRET']

View file

@ -0,0 +1,4 @@
Ensl::Application.config.session_store :active_record_store,
:key => '_ENSL_session_key',
:expire_after => 30.days.to_i

View file

@ -0,0 +1,7 @@
ActiveSupport.on_load(:action_controller) do
wrap_parameters format: [:json]
end
ActiveSupport.on_load(:active_record) do
self.include_root_in_json = false
end