mo files, 252
models
ActiveRecord, 315
copy-modify-merge, 297
translation, 257
user, 130
version control, 296
branching and merging, 301??“306
centralized, 296??“299
database migrations, 306??“308
decentralized, 299??“301
Module methods
const_missing, 57
define_method, 25
instance_methods, 29
remove_method, 48
undef_method, 48
modules, 297
ActiveMerchant, 35
Core Extensions, 70
Enumerable, 37
inclusion, method lookups, 8??“12
Marshal, 286
ObjectSpace, 28??“36
overview of, 4
modulization, 34
Mongrel, 78, 108
monkeypatching, 31, 34
MQ (Mercurial Queues) extension, 161
mulitmaster replication, 123
multi-application projects, 313??“315
multibyte character support, 242
multilingualization, 241
multiple databases, connecting, 116??“118
Multipurpose Internet Mail Extensions (see
MIME)
multiversion concurrency control
(MVCC), 97, 98
MVCC (multiversion concurrency
control), 97, 98
MyISAM, 99
MySQL, 98, 121
8-bit Unicode Transformation Format
(UTF-8), 245
clusters, 121
large/binary objects, 103
N
named branches in Mercurial, 306
names
constants, 4
opacity, 191
nested resource routes, 214
nginx servers, 318
normalization, Unicode, 243
notation, JSON, 59
numeric conversions, 71
O
Object#methods, 29
ObjectGraph (Og), 275??“281
object-relational mapping (ORM), 96
objects, 231
class, singleton classes of, 14??“17
Core Extensions, 71
JSON, 59
large, deleting, 115
large/binary, 101??“109
method lookups, 5??“17
methods, 20
promise, 274
session, 58
tainting, 146
ObjectSpace module, 28??“36
implementation, 276
obscurity, avoiding security through, 135
OG (ObjectGraph), 275??“281
opacity, name, 191
opening classes, 31
optimization
source control and, 161
(see also performance)
OPTIMIZE TABLE command, 171
options
Core Extensions, 61
register_globals, 131
Oracle, 100
clustering, 124
large/binary objects, 103
ORDER BY clause, 274
ORM (object-relational mapping), 96
Index | 337
P
page caching, 177
ParseTree library, 2
partition method, 38
partitioning data, 115
passwords
hashing, 128, 129
recovery, 129
patches, contributing, 291
pen, 318
perf_run command, 163
performance
ActiveRecord, 165
1+N problem, 166
indexing, 167??“171
SQL, 165
architecture, scalability, 173??“181
benchmarking, 161??“164
caching, 176
action, 177
fragment, 178
page, 177
sweepers, 180
databases, 171
query plans, 171??“173
measurement tools, 148??“155
black-box analysis, 148??“151
code timing, 151??“153
Rails Analyzer Tools, 153??“155
profiling, 155??“161
sessions
ActiveRecordStore, 174
CookieStore, 176
management, 176
MemCacheStore, 175
scalability, 174
pg_autovacuum daemon, 171
PGCluster, 124
Piston, 81
Subversion externals and, 310
plain text, password recovery, 129
plugins, 79, 314
about.
Pages:
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489