Skip to content
Browse files

Documented performed?

  • Loading branch information...
1 parent 6680bc8 commit ab55ddcc4c5cf31bcaf7720b52dc55d6d54cb150 @radar radar committed Apr 4, 2009
View
3 actionpack/lib/action_controller/base.rb
@@ -1305,7 +1305,8 @@ def perform_action
end
end
end
-
+
+ # Returns true if a render or redirect has already been performed.
def performed?
@performed_render || @performed_redirect
end
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 ab55ddc

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