diff options
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 6 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql_adapter.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index e5faf7e1a2..0b58c38fb5 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1337,7 +1337,7 @@ module ActionController #:nodoc: end end end - + # Returns true if a render or redirect has already been performed. def performed? @performed_render || @performed_redirect @@ -1346,7 +1346,7 @@ module ActionController #:nodoc: def assign_names @action_name = (params['action'] || 'index') end - + # Returns a set of the methods defined as actions in your controller def action_methods self.class.action_methods @@ -1373,7 +1373,7 @@ module ActionController #:nodoc: # otherwise you'd get different results if calling it more than once @request_origin ||= "#{request.remote_ip} at #{Time.now.to_s(:db)}" end - + # Returns the request URI used to get to the current location def complete_request_uri "#{request.protocol}#{request.host}#{request.request_uri}" diff --git a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb index 8e4078f462..9300df28ee 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb @@ -266,7 +266,7 @@ module ActiveRecord update("SET FOREIGN_KEY_CHECKS = #{old}") end end - + # CONNECTION MANAGEMENT ==================================== def active? |