aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/README
diff options
context:
space:
mode:
authorJeremy McAnally <jeremymcanally@jeremy-mcanallys-macbook.local>2008-05-29 13:30:37 -0400
committerJeremy McAnally <jeremymcanally@jeremy-mcanallys-macbook.local>2008-05-29 13:30:37 -0400
commit281a428f11c9c086a3ab33e68bdd41c928f95e53 (patch)
treefebdee4a107ac0a26b096ca86695f2991acceb6a /actionpack/README
parentd2e2c02879110602909f31a804e4eb4a6f3419b5 (diff)
parent305eb5b031b1f2489e9963368358b7e9a16c0d00 (diff)
downloadrails-281a428f11c9c086a3ab33e68bdd41c928f95e53.tar.gz
rails-281a428f11c9c086a3ab33e68bdd41c928f95e53.tar.bz2
rails-281a428f11c9c086a3ab33e68bdd41c928f95e53.zip
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'actionpack/README')
-rw-r--r--actionpack/README18
1 files changed, 6 insertions, 12 deletions
diff --git a/actionpack/README b/actionpack/README
index 2746c3cc43..6090089bb9 100644
--- a/actionpack/README
+++ b/actionpack/README
@@ -31,7 +31,7 @@ http://www.rubyonrails.org.
A short rundown of the major features:
* Actions grouped in controller as methods instead of separate command objects
- and can therefore share helper methods.
+ and can therefore share helper methods
BlogController < ActionController::Base
def show
@@ -168,7 +168,7 @@ A short rundown of the major features:
{Learn more}[link:classes/ActionController/Base.html]
-* Javascript and Ajax integration.
+* Javascript and Ajax integration
link_to_function "Greeting", "alert('Hello world!')"
link_to_remote "Delete this post", :update => "posts",
@@ -177,7 +177,7 @@ A short rundown of the major features:
{Learn more}[link:classes/ActionView/Helpers/JavaScriptHelper.html]
-* Pagination for navigating lists of results.
+* Pagination for navigating lists of results
# controller
def list
@@ -192,15 +192,9 @@ A short rundown of the major features:
{Learn more}[link:classes/ActionController/Pagination.html]
-* Easy testing of both controller and template result through TestRequest/Response
-
- class LoginControllerTest < Test::Unit::TestCase
- def setup
- @controller = LoginController.new
- @request = ActionController::TestRequest.new
- @response = ActionController::TestResponse.new
- end
+* Easy testing of both controller and rendered template through ActionController::TestCase
+ class LoginControllerTest < ActionController::TestCase
def test_failing_authenticate
process :authenticate, :user_name => "nop", :password => ""
assert flash.has_key?(:alert)
@@ -208,7 +202,7 @@ A short rundown of the major features:
end
end
- {Learn more}[link:classes/ActionController/TestRequest.html]
+ {Learn more}[link:classes/ActionController/TestCase.html]
* Automated benchmarking and integrated logging