Dedication

For my wife, family, and God. Thanks for not abandoning and/or smiting me, depending on the case.

J.M.

To my wife, Zoe. You’re the bestest!

A.A.

Brief Table of Contents

Copyright

Brief Table of Contents

Table of Contents

List of Figures

List of Tables

List of Listings

Preface

Acknowledgments

About this Book

1. Ruby techniques

Chapter 1. Ruby under the microscope

Chapter 2. Testing Ruby

Chapter 3. Scripting with Ruby

2. Integration and communication

Chapter 4. Ruby on Rails techniques

Chapter 5. Web services

Chapter 6. Automating communication

Chapter 7. Asynchronous messaging

Chapter 8. Deployment

3. Data and document techniques

Chapter 9. Database facilities and techniques

Chapter 10. Structured documents

Chapter 11. Identity and authentication

Chapter 12. Searching and indexing

Chapter 13. Document processing and reporting

Appendix A. Installing Ruby

Appendix B. JRuby

Appendix C. Deploying web apps

Index

Table of Contents

Copyright

Brief Table of Contents

Table of Contents

List of Figures

List of Tables

List of Listings

Preface

Acknowledgments

About this Book

1. Ruby techniques

Chapter 1. Ruby under the microscope

1.1. Why Ruby now?

1.1.1. Optimizing developer cycles

1.1.2. Language features

1.2. Ruby by example

1.3. Facets of Ruby