Pro Active Record: Databases with Ruby and Rails

Overview

Pro Active Record helps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. ActiveRecord, part of the magic that makes the Rails framework so powerful and easy to use, is the model element of the Rails Model-View-Controller framework. It's an object-relational mapping library enabling you to interact with databases from both Ruby and Rails applications.

Because ActiveRecord is configured with default assumptions ...

See more details below
Paperback
$30.22
BN.com price
(Save 24%)$39.99 List Price
Other sellers (Paperback)
  • All (40) from $1.99   
  • New (16) from $1.99   
  • Used (24) from $1.99   
Sending request ...

Overview

Pro Active Record helps you take advantage of the full power of your database engine from within your Ruby programs and Rails applications. ActiveRecord, part of the magic that makes the Rails framework so powerful and easy to use, is the model element of the Rails Model-View-Controller framework. It's an object-relational mapping library enabling you to interact with databases from both Ruby and Rails applications.

Because ActiveRecord is configured with default assumptions that mesh perfectly with the Rails framework, Rails developers often find they hardly need think about it at all. However, if you are developing in Ruby without Rails, or are deploying against legacy databases designed without Rails in mind, or you just want to take advantage of database-specific features such as large objects and stored procedures, you need the in-depth knowledge of ActiveRecord found in this book.

In Pro Active Record, authors Kevin Marshall, Chad Pytel, and Jon Yurek walk you through every step from the basics of getting and installing the ActiveRecord library to working with legacy schema to using features specific to each of todays most popular database engines, including Oracle, MS SQL, MySQL, and more! You’ll come to a deep understanding of ActiveRecord that will enable you to truly exploit all that Ruby, Rails, and your chosen database platform have to offer.

Table of Contents

  1. Introducing Active Record
  2. Active Record and SQL
  3. Setting Up Your Database
  4. Core Features of Active Record
  5. Bonus Features
  6. Active Record Testing and Debugging
  7. Working with Legacy Schema
  8. Active Record and the Real World
Read More Show Less

Product Details

  • ISBN-13: 9781590598474
  • Publisher: Apress
  • Publication date: 9/14/2007
  • Series: Expert's Voice Series
  • Edition number: 1
  • Pages: 304
  • Sales rank: 1,326,630
  • Product dimensions: 6.86 (w) x 9.20 (h) x 0.73 (d)

Meet the Author

Chad Pytel is president of thoughtbot, Inc., a software development consulting firm that specializes in agile, test-driven web application development using the Ruby on Rails framework and�located in Boston and New York City. A firm believer in the Model-View-Controller design pattern and realistic software development, with a history in Java and EJB development, Chad strongly believes that Ruby and Ruby on Rails represents a new, exciting, and better way to develop software. Chad lives with his wife in Somerville, Massachusetts. When not at the office managing projects and writing code, Chad enjoys acting in and producing theater, film, and improv comedy. To follow along with Chad and the rest of the thoughtbot team's thoughts on business, design, development, and technology, visit their blog at Giantrobots.thoughtbot.com.

Jon Yurek is�chief technology officer�at thoughtbot, Inc. Born a programmer, Jon has been developing software professionally since 1999. After seeing the elegant and expressive power of Ruby, Jon quickly moved all new development at thoughtbot away from Java and Perl to using Ruby and Rails. Jon is a graduate of Worcester Polytechnic Institute and currently lives in Somerville, Massachusetts.

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 article, "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 (available online at Reviews.com).

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, or just drop him a note at info@falicon.com.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted November 12, 2007

    A reviewer

    The book lists it's intended 'User level' at 'Intermediate-Advanced'. 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. 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 give the book 4 stars, with the assumption that you go into it with the expectation of 'Beginning Active Record'.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted August 22, 2010

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)