Skip to content
Browse files

No whitespaces please

  • Loading branch information...
1 parent 86a083d commit 4fe6d43cabe3bb2e094f308d010209c78005a3b9 @lifo lifo committed Apr 4, 2009
View
6 actionpack/lib/action_controller/base.rb
@@ -1337,7 +1337,7 @@ def perform_action
end
end
end
-
+
# Returns true if a render or redirect has already been performed.
def performed?
@performed_render || @performed_redirect
@@ -1346,7 +1346,7 @@ def performed?
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 @@ def request_origin
# 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}"
View
2 activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
@@ -266,7 +266,7 @@ def disable_referential_integrity(&block) #:nodoc:
update("SET FOREIGN_KEY_CHECKS = #{old}")
end
end
-
+
# CONNECTION MANAGEMENT ====================================
def active?

0 comments on commit 4fe6d43

Please sign in to comment.
Something went wrong with that request. Please try again.