Index

!, 117

#{}, 114

&&, 117

@. See Instance variables

== (equality comparison operator), 123

=~ (equals-tilde operator), 174

!= (not equal), 123

<<: (push operator), 124, 377

<%= ... %>, 100

[ ] (array elements), 122

{ } (block variable), 125

“ ” (double quotes), 114

{ } (hash), 127–128

| |, 332b–333b

block variable, 125

boolean combination, 117

@ (instance variables), 54–55, 99

+ operator, 114

!: operator (not), 333

# (pound sign), 113

<%= @title %>, 100, 108

/ URL, 164t, 165

<%= yield %>, 102–103

A

a (anchor tag), 97

about action, 82

About page

with embedded Ruby title, 101

full HTML structure, 97

/about URL, 164, 164t

About view, with HTML structure removed, 103–104

about_path definition, changing, 163, 168

about_URL, 168

Access control, ...

Get Ruby on Rails™ 2.3 Tutorial: Learn Rails by Example 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.