Rails-R

Navigation through Rails, made simple.

Tired of typing $ cd /app/assets/javascripts every time you want to access your JavaScript files in Rails, or any other folder for that matter? The folder structure makes sense for the MVC philosophy, but navigating through Rails in Terminal is tedious. Say hi to Rails-R!

Rails-R is a script written in Bash that lets you navigate across your Rails project in short commands. Your Rails project must use Git (used to figure out the root of your Rails project).

Simple Installation

Run the following command in your Terminal (Mac OS X only)

Navigation Commands

Rails root

Rails controllers

Rails models

Rails views

Assets stylesheets

Assets javascripts

Assets images

Open Gemfile

Open routes.rb

Precompile assets

See more commands by viewing the raw source.

Fork me on GitHub