Get RailsBricks

Follow @railsbricks


Most web apps require some kind of authentication. RailsBricks takes care of implementing this for you and lets you chose between a simple User model or using the Devise gem. Trivial functionalities like "sign up", "confirm your account", "sign in", "forgotten password", etc, are generated automatically. On top of that, you also get an administration zone to manage your users.

User Interface

Build a stunning UI even faster! RailsBricks creates the common visual parts of a web app such as a navbar, pop up alerts, a main content area and a footer. Two UI schemes are proposed: Reset CSS and Bootstrap 3. Easily override the default Bootstrap 3 settings using SCSS variables. The Font Awesome gem is also included.

Send Emails

Setting up your email parameters is easy. Enter your values such as your SMTP server address, port and user credentials in the app creation wizard and RailsBricks will generate your development and production initializers. If you use the Devise gem for authentication, emailing your users confirmation links and passwords reset links will use these settings.

Keep Secrets

By using and configuring the Figaro gem for you, your secrets are not shared. Your initializers are configured to use ENV variables stored in an application.yml file that will not get included in your Git repository. Application secret tokens are also not shared and get generated individually by your app. This is especially useful if you develop open source Rails apps.

Database Tool

RailsBricks generates your initial migrations with default data (such as an admin user) and offers you to create test users. As you build your app and add features, RailsBricks automates drop, migrate and seed operations by wrapping them in one single command line statement: rbricks -r.

Popular Gems

Whether you need to implement paging or display human readable URL's instead of id's, several great gems are included in RailsBricks generated apps: Figaro, FriendlyId, Kaminari, Font Awesome, Devise (optional), Bootstrap for Sass (optional) and RailsLayout (optional). Heroku production gems, PostgreSQL and Rails 12factor, are also included by default for easy deployment.

Version Management

Whichever Ruby version manager you use (RVM, rbenv, etc), RailsBricks will work with it. Your project's gems will be segregated from your other projects. You also get to choose which version of Ruby you want to use when creating a new app: 1.9.3, 2.0.0 or 2.1.1.

Set Up Git

The RailsBricks wizard offers to create a local Git repository for you and generates an augmented .gitignore file. If you opt in to create a local repository, you will also be prompted for an optional remote Git repository URL. Your initial commit is done for you and optionally gets pushed to your remote repository.

Actively Maintained

RailsBricks is actively maintained and upcoming features are listed in the Roadmap. RailsBricks is free and open source, too! Have a look at the latest news to keep up to date with the most recent additions and follow @railsbricks on Twitter to stay in the loop. Don't hesitate to share your thoughts, ideas, comments and questions. You created something awesome with RailsBricks? Please do tell and it will be showcased!