Skip to content

rails examples tutorials

Daniel Kehoe edited this page Feb 28, 2014 · 53 revisions

Rails Tutorials, Examples, and Starter Applications

by Daniel Kehoe

Last updated 28 February 2014

A list of recommended Rails tutorials with example applications. Also starter applications that can be customized for your own project.

If You Are New to Rails

If you’re new to Rails, see What is Ruby on Rails?, the book Learn Ruby on Rails, and recommendations for a Rails tutorial.

Join RailsApps

What is the RailsApps Project?

This is an article from the RailsApps project. The RailsApps project provides example applications that developers use as starter apps. Hundreds of developers use the apps, report problems as they arise, and propose solutions. Rails changes frequently; each application is known to work and serves as your personal “reference implementation.” Each application is accompanied by a tutorial so there is no mystery code. Support for the project comes from subscribers. Please accept our invitation to join the RailsApps project.

Rails Composer Starter Applications with Tutorials

These example applications are created using the Rails Composer tool. Each is accompanied by a tutorial.

Example Applications for Rails 4.1 Tutorial Comments
OmniAuth and Rails OmniAuth for authentication
Devise and Rails Devise for authentication
Devise and Pundit and Rails Pundit for authorization
Example Applications for Rails 4.0 Tutorial Comments
Learn Rails Learn Ruby on Rails introduction to Rails for beginners
Rails and Bootstrap Tutorial starter app for Rails and Bootstrap
Rails and Foundation Learn Ruby on Rails starter app for Rails and Zurb Foundation
Example Applications for Rails 3.2 Tutorial Comments
Twitter Bootstrap, Devise, CanCan Tutorial Devise for authentication, CanCan for authorization, Twitter Bootstrap for CSS
Rails Membership Site with Stripe Tutorial Site with subscription billing using Stripe
Rails Membership Site with Recurly Tutorial Site with subscription billing using Recurly
Startup Prelaunch Signup App Tutorial For a startup prelaunch signup site
Devise, RSpec, Cucumber Tutorial Devise for authentication with ActiveRecord and SQLite for a database
Devise, Mongoid Tutorial Devise for authentication with a MongoDB datastore
OmniAuth, Mongoid Tutorial OmniAuth for authentication with a MongoDB datastore
Subdomains, Devise, Mongoid Tutorial Basecamp-style subdomains with Devise and MongoDB

Other Starter Applications with Tutorials

These example applications are accompanied by tutorials.

Author Tutorial and Example App Comments
Fernando Tapia Rico Devise, OmniAuth, Mongoid Combines Devise and OmniAuth for use with MongoDB
Markus Proske OmniAuth Pure example and tutorial for OmniAuth with multiple providers
Markus Proske Devise and OmniAuth example and tutorial for OmniAuth and Devise with multiple providers

Starter Apps

Clone these repositories and edit the files to create your own starter app. These are notable; there are many more!

Author Project Comments
Andi Altendorfer Community Base Application Devise, OmniAuth, Mongoid, CanCan, Paperclip, etc.
W.R. de Vos rails_template Devise, Oauth with Facebook and Google login, Mongoid, Cancan, Carrierwave, Rspec, Cucumber
Rendered Text BaseApp PostgreSQL, jQuery, RSpec, Cucumber, Devise, FB login, admin system
Stefan Wienert Rails-3.1-BaseApp
Ryan Weald Base-Rails-3.1-App
Kamil Wdowicz Template3.1
Hugo Dias RailStrap Twitter Bootstrap, HTML5 Boilerplate
Brian Dear Brian’s Basic Rails Starter Template Haml, PostgreSQL
Adam Loving Rails Bootstrap Slim, Compass, Devise, Twitter Bootstrap, Omniauth
diowa ruby2-rails4-bootstrap-heroku Rails 4, Haml, RSpec, PostgreSQL, Twitter Bootstrap., etc.
Nilesh Trivedi rails-starter-app Rails 4, OmniAuth, RSpec, PostgreSQL, Twitter Bootstrap., etc.

Application Templates for Starter Apps

There are many Rails application templates that generate starter apps. Application templates are Ruby scripts used with the "rails new myapp -m" command to generate a Rails app. See a list of notable Rails Application Templates.

Clone this wiki locally