Index
A note on the digital index
A link in an index entry is displayed as the section title in which that entry appears. Because some sections have multiple index markers, it is not unusual for an entry to have several links to the same section. Clicking on any link will take you directly to the place in the text in which the marker appears.
Symbols
- @ad variable, The controller sends the ad to the view
- default value, The @ad form object has not been created
A
- :action parameter, Behind the scenes with routes, Behind the scenes with routes
- actions, Thereâs a problem â people canât find the pages they want, You need a form to submit data and an action method to save it
- page templates and controller methods, Each page template now has a matching controller method, But how can a controller action display ANOTHER actionâs page?
- ActiveRecord, Rails is for database-centric apps like the ticket sales system
- air reservation system (see Coconut Airways project)
- Ajax, Ajax: Avoiding the traffic, The map could show more details
- :full_page, But how do we convert the index page?
- :show_action, But how do we convert the index page?
- creating requests using, We need to create requests using Ajax, too
- dynamically updating parts of web page, The form needs to update the contents of the pop-upâs <div>
- generating Ajax form, The map partial lets us specify a ânewâ action
- helpers, Tools for your Rails Toolbox
- JavaScript generator, The controller needs to return JavaScript instead of HTML
- libraries, First we ...
Get Head First Rails now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.