This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Table of Contents
+-- {: #intro} Welcome to the Merb Open Source Book. The purpose of this book is simple: to guide beginners and advanced users through the Merb Framework.
In all honesty, this book won't answer all of your questions about Merb or Ruby, let alone cover all of the use cases. However, with the help of the Ruby Community, we will be able to cover most of what you need to use Merb on a daily basis.
If you are learning through this material, or if you already use Merb frequently, please consider helping improve the content of this book. =--
- Front Matter
- Foreword By Yehuda Katz
- Preface by Matt Aimonetti
- Contributors
- Introduction
- Ruby Language
- Merb Web Framework
- DataMapper ORM
- RSpec testing framework
- Getting Started
- Install Instructions
- Generate an application
- Project structure
- MVC
- Controllers
- Views
- Models
- Request path
- Router
- Interacting with the database (DataMapper)
- Setting up the database connection
- Database Schema
- Database Queries
- Model Relationships
- Database Migrations
- Model Validations
- Interacting with the database (Active Record)
- Installation and setup
- Database Queries
- Interacting with the database (Sequel)
- Getting Started
- Database Migrations
- Data Retrieval and Manipulation
- Model Associations
- Model Validation
- Sequel Plugins
- Testing your application
- Why test
- Testing your models
- Testing your requests
- Integration testing with Cucumber
- Merb More
- Authentication
- Mailer
- Caching
- Exceptions
- Slices
- Recipes
- Simple Blog
- Building a Blog Slice
- Deployment
- Passenger
- nginx
- JRuby and Glassfish
- Bundling your Merb application
{: #toc .available-for-translation}
{: #appendices}












