O'Reilly logo

Ruby on Rails™ 2.3 Tutorial: Learn Rails by Example by Michael Hartl

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required