文档介绍:Prepared exclusively for Andrew Rudenko
Advanced Rails Recipes
Mike Clark and the munity
The Pragmatic Bookshelf
Raleigh, North Carolina Dallas, Texas
Prepared exclusively for Andrew Rudenko
Many of the designations used by manufacturers and sellers to distinguish their prod-
ucts are claimed as trademarks. Where those designations appear in this book, and The
Pragmatic Programmers, LLC was aware of a trademark claim, the designations have
been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The
Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g
device are trademarks of The Pragmatic Programmers, LLC.
Every precaution was taken in the preparation of this book. However, the publisher
assumes no responsibility for errors or omissions, or for damages that may result from
the use of information (including program listings) contained herein.
Our Pragmatic courses, workshops, and other products can help you and your team
create better software and have more fun. For more information, as well as the latest
Pragmatic titles, please visit us at
Copyright © 2008 Mike Clark.
All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmit-
ted, in any form, or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior consent of the publisher.
Printed in the United States of America.
ISBN-10: 0-9787392-2-1
ISBN-13: 978-0-9787392-2-5
Printed on acid-free paper with 50% recycled, 15% post-consumer content.
printing, April 2008
Version: 2008-5-1
Prepared exclusively for Andrew Rudenko
Contents
1 Introduction 8
What Makes a Good Recipe Book? . . . . . . . . . . . . 8
What Makes This an Advanced Recipe Book? . . . . . . 9
Who’s It For? . . . . . . . . . . . . . . . . . . . . . . . . . 9
Who’s Talking? . . . . . . . . . . . . . . . . . . . . . . . 10
What Version Do