Tuesday, April 29, 2008

Show Hidden Fields Plugin

Unhide hidden fields during Rails development. Unhidden fields reveal themselves in grayscale to suggest their unhidden-ness. Onmouseover they'll also display their name & id.

All is revealed... Rails authenticity tokens, the REST put-method work around, etc - along with our own sleight of hand hidden stuff. Also makes so you can easily change unhidden field values, since they are now just text fields.

Hiding can be switched on/off by setting SHOW_HIDDEN_FIELDS = true/false. Handy for us devigner types who still like to make sense of stuff from the view! (-;

To install:

  1. Public clone url git://github.com/leewbutler/show_hidden_fields.git
  2. In config/environment.rb's init block add SHOW_HIDDEN_FIELDS=true
  3. Restart your server environment.

0 comments: