Project

rails_wip

0.0
No commit activity in last 3 years
No release in over 3 years
Very crude (no, really, I mean very crude!) feature toggle for rails apps.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 3.0
 Project Readme

Rails Wip Build Status

About

Rails Wip - as in Work In Progress - is a very crude (no, really, I mean very crude!) feature toggle for rails apps.

Installing

In your Gemfile:

gem "rails_wip"

Using

In your templates, wrap features which are still a work in progress in a wip block:

<%= wip do %>
	Work In Progress feature
<% end %>

In development and test environments the wrapped sections will be displayed normally. But in other environments - namely production - those sections will not be displayed by default.

You can display the sections even in other environments by passing wip=true in a query string:

http://example.com/example?wip=true

Advantage

The only advantage I can think of for using this over other feature toggle implementations is that it is ridiculously easy to setup. You can have feature toggles working in literally a few seconds.

Acknowledgements

The original code for this was implemented by azisaka for a project we worked on together. Here I extracted the code and packaged it up as a gem.