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

Get Head First Rails now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.