aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/README
diff options
context:
space:
mode:
authorChris Kampmeier <chris@kampers.net>2008-12-02 02:05:43 -0800
committerChris Kampmeier <chris@kampers.net>2008-12-02 02:05:43 -0800
commit7b52deca327616980c97454f8ef57c9da8985848 (patch)
tree903fff90b033095533a7bc2453d36860da78b565 /actionpack/README
parent4d177a5939fedd31abf29129c521b03f5f6cbd44 (diff)
downloadrails-7b52deca327616980c97454f8ef57c9da8985848.tar.gz
rails-7b52deca327616980c97454f8ef57c9da8985848.tar.bz2
rails-7b52deca327616980c97454f8ef57c9da8985848.zip
Remove old sections on pagination and components from Action Pack's README
Diffstat (limited to 'actionpack/README')
-rw-r--r--actionpack/README39
1 files changed, 0 insertions, 39 deletions
diff --git a/actionpack/README b/actionpack/README
index 6090089bb9..fffbb24ba4 100644
--- a/actionpack/README
+++ b/actionpack/README
@@ -177,21 +177,6 @@ A short rundown of the major features:
{Learn more}[link:classes/ActionView/Helpers/JavaScriptHelper.html]
-* Pagination for navigating lists of results
-
- # controller
- def list
- @pages, @people =
- paginate :people, :order => 'last_name, first_name'
- end
-
- # view
- <%= link_to "Previous page", { :page => @pages.current.previous } if @pages.current.previous %>
- <%= link_to "Next page", { :page => @pages.current.next } if @pages.current.next %>
-
- {Learn more}[link:classes/ActionController/Pagination.html]
-
-
* Easy testing of both controller and rendered template through ActionController::TestCase
class LoginControllerTest < ActionController::TestCase
@@ -256,30 +241,6 @@ A short rundown of the major features:
{Learn more}[link:classes/ActionController/Caching.html]
-* Component requests from one controller to another
-
- class WeblogController < ActionController::Base
- # Performs a method and then lets hello_world output its render
- def delegate_action
- do_other_stuff_before_hello_world
- render_component :controller => "greeter", :action => "hello_world"
- end
- end
-
- class GreeterController < ActionController::Base
- def hello_world
- render_text "Hello World!"
- end
- end
-
- The same can be done in a view to do a partial rendering:
-
- Let's see a greeting:
- <%= render_component :controller => "greeter", :action => "hello_world" %>
-
- {Learn more}[link:classes/ActionController/Components.html]
-
-
* Powerful debugging mechanism for local requests
All exceptions raised on actions performed on the request of a local user