Chapter 4. Action Controller


    Section 4.0.  Introduction

    Recipe 4.1.  Accessing Form Data from a Controller

    Recipe 4.2.  Changing an Application's Default Page

    Recipe 4.3.  Clarifying Your Code with Named Routes

    Recipe 4.4.  Configuring Customized Routing Behavior

    Recipe 4.5.  Displaying Alert Messages with Flash

    Recipe 4.6.  Extending the Life of a Flash Message

    Recipe 4.7.  Following Actions with Redirects

    Recipe 4.8.  Generating URLs Dynamically

    Recipe 4.9.  Inspecting Requests with Filters

    Recipe 4.10.  Logging with Filters

    Recipe 4.11.  Rendering Actions

    Recipe 4.12.  Restricting Access to Controller Methods

    Recipe 4.13.  Sending Files or Data Streams to the Browser

    Recipe 4.14.  Storing Session Information in a Database

    Recipe 4.15.  Tracking Information with Sessions

    Recipe 4.16.  Using Filters for Authentication




Rails Cookbook
Rails Cookbook (Cookbooks (OReilly))
ISBN: 0596527314
EAN: 2147483647
Year: 2007
Pages: 250
Authors: Rob Orsini

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net