Permalink
Browse files

nodoc AR::Railtie [ci skip]

  • Loading branch information...
1 parent e3fa841 commit b21012bc3911d53eef6fc3bc3222c8e762664671 Francesco Rodriguez committed Sep 22, 2012
@@ -10,7 +10,7 @@
module ActiveRecord
# = Active Record Railtie
- class Railtie < Rails::Railtie
+ class Railtie < Rails::Railtie # :nodoc:
config.active_record = ActiveSupport::OrderedOptions.new
config.app_generators.orm :active_record, :migration => true,
@@ -76,7 +76,7 @@ class Railtie < Rails::Railtie
config.after_initialize do |app|
ActiveSupport.on_load(:active_record) do
filename = File.join(app.config.paths["db"].first, "schema_cache.dump")
-
+
if File.file?(filename)
cache = Marshal.load File.binread filename
if cache.version == ActiveRecord::Migrator.current_version
@@ -2,7 +2,7 @@
require 'active_record/log_subscriber'
module ActiveRecord
- module Railties
+ module Railties # :nodoc:
module ControllerRuntime #:nodoc:
extend ActiveSupport::Concern
@@ -37,7 +37,7 @@ def append_info_to_payload(payload)
end
end
- module ClassMethods
+ module ClassMethods # :nodoc:
def log_process_action(payload)
messages, db_runtime = super, payload[:db_runtime]
messages << ("ActiveRecord: %.1fms" % db_runtime.to_f) if db_runtime

0 comments on commit b21012b

Please sign in to comment.