MileMarker

A Ruby on Rails plugin for visually setting expectations throughout application development.

MileMarker adds a helper for marking page elements with the milestone they are slated to be developed, and makes them unable to be interacted with.

Usage

Once the plugin has been installed, in your views you can now do:

<div class="person" <%= mile 6 %>>
  <div class="name">Your Name<div>
</div>

When viewed in development mode, the person div would be overlaid with a translucent gray box with the words “Milestone 6” in it, as shown below.

If you happen to not call your milestones, “milestones”, or for any other reason want the label to be something different, just supply a string instead:

<div class="person" <%= mile "Next Week" %>>
  <div class="name">Your Name<div>
</div>

And that will still result in the marker being labeled with “Next Week” instead.

Installation

To install, just sit in your RAILS_ROOT and run:

svn export http://svn.thoughtbot.com/plugins/mile_marker/trunk

For more information:

Questions or feedback? Ask us on our blog, or email cpytel@thoughtbot.com.