328 | Index
classes (continued)
inheritance, method lookups, 6
instantiation, method lookups, 7
opening, 31
overview of, 4
proxy, delegation with, 30
singleton, 12–14
of class objects, 14–17
subclassing, 32
variables, 19
virtual, 13
clean_backtrace method, 66
clean_message method, 66
clients
Action Web Service (AWS), 231
Amazon S3 (Simple Storage Service) case
study, 234
security, 130–135
client-server constraint, 185
client-side validation, 133
CLOB (see large/binary objects)
cloning trunks, 303
closures, 22
clusters
MySQL, 121
Oracle Real Application Clusters
(RAC), 124
PostgreSQL, 123
code, 2
ActiveSupport, 57
Core Extensions, 60–75
dependencies, 57
deprecation, 58
Inflector, 59
JSON, 59
Whiny Nil, 60
adding, 31
bindings, 27
C, writing inline, 182
duplication, 2
hash message authentication code
(HMAC), 143
message authentication code (MAC), 134
metaprogramming, 1–4
on-the-fly, writing, 24
passwords, hashing, 128
procs, 20–23
reading, 49–57
revision, downloading, 297
routing, 43
searching, 49
timing, 151–153
code examples, xi
code reviews, contributing to Rails, 292
code-on-demand constraint, 186
Collaboa, 308
collect method (see map method)
commands
ANALYZE TABLE, 171
backtrace (bt), 53
help, 54
hg heads, 304
irg, 54
list, 53
OPTIMIZE TABLE, 171
perf_run, 163
script/plugin tool, 80–83
svn import, 309
update, 297
VACUUM ANALYZE, 171
compatibility characters, 243
components
incorporating, 284
ActionMailer, 287–289
ActiveRecord, 284–287
replacing
ActiveRecord, 271–281
alternative template engines, 282–284
composite keys, 112–114
composition, characters, 243
concurrent access, 297
Concurrent Versions System (CVS), 297
conditional GET, 207
confidence interval, 150
confidentiality, 137
configuration, 75
ActionMailer, 287–289
locale-specific settings, 256
ObjectGraph (Og), 279
security, applications, 127–137
Subversion, 309
X-Sendfile, 106
connections
Magic Multi-Connections gem, 118
multiple databases, 116–118
constants, 4
constraints
caches, 186
client-server, 185
code-on-demand, 186
databases, 110
layered system, 186
stateless, 186
uniform interface, 186