or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Pro Active Record: Databases with Ruby and Rails (Expert's Voice)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pro Active Record: Databases with Ruby and Rails (Expert's Voice) [Paperback]

Kevin Marshall (Author), Chad Pytel (Author), Jon Yurek (Author)
3.9 out of 5 stars  See all reviews (9 customer reviews)

List Price: $39.99
Price: $26.52 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.47 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Paperback $26.52  

Book Description

Expert's Voice September 14, 2007

Despite it's less than catchy name, ActiveRecord is a key part of the "magic" that makes Ruby on Rails such a hit. Without ActiveRecord, there would be no Rails. ActiveRecord is the connection between a Rails application and its data. Ruby and Ruby on Rails developers who want to exploit all the features of Ruby, of Rails, of their chosen database must learn ActiveRecord.

Pro ActiveRecord for Ruby picks up with ActiveRecord where most books on Ruby and the Rails framework leave off. Readers begin by learning about all the built-in assumptions that make it so wondrously easy to create freshly-built Rails applications from scratch. Next, readers learn how to adapt ActiveRecord to work with databases - and this includes just about all preexisting databases - that were designed without those assumptions in mind. Readers go on to learn how to tie ActiveRecord in with database-specific features such as stored procedures and large objects, how to migrate legacy database designs to work better with ActiveRecord, and how to extend ActiveRecord to provide new and innovative database functionality to their applications. Readers who absorb the knowledge given in this book will have a significant competitive advantage over those with only a superficial knowledge of the topic.


Frequently Bought Together

Pro Active Record: Databases with Ruby and Rails (Expert's Voice) + Practical Rails Projects (Expert's Voice) + Beginning Ruby on Rails E-Commerce: From Novice to Professional
Price For All Three: $79.03

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Practical Rails Projects (Expert's Voice) $29.54

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Beginning Ruby on Rails E-Commerce: From Novice to Professional $22.97

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Kevin Marshall is a software developer at heart. He is a consultant to a number of companies and currently runs 50+ sites of his own--many of which are now happily taking advantage of ActiveRecord with the Ruby on Rails framework, including the popular Draftwizard.com. As a technology writer, Kevin has published a short PDF "Web Services with Rails", contributed a few recipes to the Ruby Cookbook, and contributed a number of articles to the Association of Computing Machinery's periodical, Computing Reviews.

Kevin is also a member of the Pro Football Writers Association, the Fantasy Sports Trade Association, and the Fantasy Sports Writers Association. When he's not deep into coding, building content, or talking football, he's generally off playing with his sons. To learn more about what he's up to right now you can visit his company site falicon.com

Chad Pytel – Bio to come.

John Yurek – Bio to come.


Product Details

  • Paperback: 304 pages
  • Publisher: Apress; 1 edition (September 14, 2007)
  • Language: English
  • ISBN-10: 1590598474
  • ISBN-13: 978-1590598474
  • Product Dimensions: 9.2 x 7 x 0.8 inches
  • Shipping Weight: 1.3 pounds (View shipping rates and policies)
  • Average Customer Review: 3.9 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #1,088,815 in Books (See Top 100 in Books)

More About the Author

Chad Pytel is founder and CEO of thoughtbot, inc. a leading software development firm that specializes in agile, test-driven web application development using Ruby on Rails. He currently lives in Newton, MA with his wife and son.

 

Customer Reviews

9 Reviews
5 star:
 (4)
4 star:
 (2)
3 star:
 (1)
2 star:
 (2)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.9 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

20 of 22 people found the following review helpful:
2.0 out of 5 stars Disappointing and mis-titled, October 24, 2007
By 
James Stewart (Grand Rapids, MI, USA) - See all my reviews
(REAL NAME)   
This review is from: Pro Active Record: Databases with Ruby and Rails (Expert's Voice) (Paperback)
Right at the start of Pro Active Record the authors address a possible problem some may have with it: that there's not enough in Active Record to warrant a full book. They point out that the basics are well covered as sections elsewhere but that this is the first book to really dig into working with legacy schema and other `advanced' uses. That's fair enough, but after reading the book I am still left with the question of why, then, they dedicate the first half to covering ActiveRecord's most basic concepts?

Judging from postings on the rails email list, there's certainly a lot of confusion about ActiveRecord, associations, observers, how to work with legacy table names and primary keys, and so on. But in a book with a title prefix of "Pro" I was expecting to jump straight into the nitty gritty of topics like compound/composite primary keys and performance tuning, probably with some real world examples, and maybe with a serious exploration of AR's internals. As it is, such topics only get a quick treatment in the final chapter (the compound/composite primary keys section is a paragraph referring users to a plugin).

It's almost always instructive reading other developers' code and it would be unfair to claim that I didn't spot a couple of tips that may prove useful, but they were passing things. And sometimes I found myself wondering what happened to the tech review process, particularly in the coverage of the has_one association, where not only is the variable naming confusing, but they seem to be calling the each method on a single ActiveRecord instance.

I'm left wondering what the audience is for this book. The title and blurbs suggest it's pitched at people who want to go deeper into ActiveRecord than they have before, but the content is better suited for someone with some database experience who wants to pick up ActiveRecord to write some scripts. As it is, if you've worked with ActiveRecord before your time will be better spent writing plugins and exploring the internals for yourself, and if you've not you'll get most of the same material from a decent Rails book and some time exploring.

Disclaimer: I was sent a copy of this book for review by the publisher.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 10 people found the following review helpful:
4.0 out of 5 stars Good, but not so "pro"., November 12, 2007
By 
J. Pease (Odessa, TX United States) - See all my reviews
(REAL NAME)   
This review is from: Pro Active Record: Databases with Ruby and Rails (Expert's Voice) (Paperback)
Visuals:
Font size and layout are good. Easy on the eyes. Large and frequent sub-headings make it easier to locate information.

Audience:
The book lists it's intended "User level" at "Intermediate-Advanced".

Practicality:
It really depends on what you are expecting. I've been using Rails and ActiveRecord for about 2 years, so I should fit into the target audience. After reading the book I still think it will be a great reference book to have within arm's reach while working with ActiveRecord. To me it will serve as an API to AR. So it will be practical in that sense.

On the other hand, while reading it I never experienced any "aha!" moments where I felt like I learned something new or exciting, which I had hoped for from a "Pro" book.

If you are a beginner (never having used AR) it will definitely save you time (and eye strain) hunting down tutorials on blogs.

Overall:
It's a good Active Record reference & usage tutorial(s). I would have appreciated this book even more when I was first starting to use the Ruby on Rails framework. So if you are a beginner, don't let the "Intermediate - Advanced" user level scare you off. If you are using Rails, even as a beginner, you will probably be using Active Record too. In fact I think this book would probably be better named "Beginning Active Record" instead of "Pro Active Record".

I was kind of surprised when I read the Introduction to the book that it starts off with:

"Is there really enough to talk about in Active Record to fill a whole book?"

"Our answer, then and now, is, "Yes and no""

As an "Intermediate - Advanced" user, that's kind of how I felt at the end of this "Pro" book.

I give the book 4 stars, with the assumption that you go into it with the expectation of "Beginning Active Record".
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 6 people found the following review helpful:
5.0 out of 5 stars The missing link in Rails Training, September 21, 2007
By 
Charles Harvey (Arlington, Va United States) - See all my reviews
(REAL NAME)   
This review is from: Pro Active Record: Databases with Ruby and Rails (Expert's Voice) (Paperback)
ProActive Record fills a void in RoR texts. From some of the descriptions I was worried that the book would be too focused on using ActiveRecord without rails. My assumptions were unfounded.

By having basically unrestricted space to focus on one part of the MVC framework, the book is able to go into much deeper discussion about many of the topics on ActiveRecord covered only partially in previous Rails texts.

This book focuses on the practical instead of the abstract to its credit.
One chapter is devoted entirely to real world issues in a Q and A style that most every Rails developer will eventually face. It is more like participating in a lab rather than being preached to in a classroom.

Note while this book does not target total beginners it is extremely useful for someone who is past the newbie stage.

Highly recommended for the RoR professional.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews







Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
active record, position column values, recording certain actions, legacy schema, callback macros, dynamic finders, logger object, text type field, from accounts where, migration scripts, parameter containing, def initialize, finder methods, save statement, optional message, bonus features, cows table, assertion methods, optimistic locking
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Unit Test, Active Resource, Kevin Marshall, Active Support, Ruby Gem, Eastern Standard Time, Red House, Account Site, Database Adapter
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(11)
(8)
(3)
(3)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
How popular is Ruby on Rails ? 0 Feb 12, 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
   



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject