. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Application Issues 127
Web Issues 137
SQL Injection 144
Ruby??™s Environment 145
Further Reading 146
6. Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Measurement Tools 148
Rails Optimization Example 155
ActiveRecord Performance 165
Architectural Scalability 173
Other Systems 181
Further Reading 184
7. REST, Resources, and Web Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
What Is REST? 185
Benefits of a RESTful Architecture 205
RESTful Rails 209
Case Study: Amazon S3 231
Further Reading 235
8. i18n and L10n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Locale 236
Character Encodings 237
Unicode 238
Rails and Unicode 241
Rails L10n 250
Further Reading 269
Table of Contents | vii
9. Incorporating and Extending Rails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Replacing Rails Components 271
Incorporating Rails Components 284
Contributing to Rails 289
Further Reading 295
10. Large Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Version Control 296
Issue Tracking 308
Project Structure 309
Rails Deployment 315
Further Reading 322
Index .
Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25