O'Reilly logo

Head First Rails by David Griffiths

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Making Connections: Bringing it all together

image with no caption

Some things are stronger together than apart.

So far you’ve had a taste of some of the key Rails ingredients. You’ve created entire web applications and taken what Rails generates and customized it for your needs. But out in the real world, life can be more complex. Read on... it’s time to build some multi-functional web pages. Not only that, it’s time to deal with difficult data relationships and take control of your data by writing your own custom validators.

Coconut Airways need a booking system

image with no caption

There’s no better way of traveling between islands than by seaplane, and Coconut Airways has an entire fleet. They offer scenic tours, excursions, and a handy shuttle service between all the local islands. Their service is proving popular with tourists and locals alike.

Demand for their flights is sky-high, and they need an online reservation system to help them. The system needs to manage flight and seat bookings. Here’s the data they need to store:

image with no caption
image with no caption

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required