gregbell/active_admin — pull request #3238 by ushu (2014-06-30 15:07:52+00:00)
Title: Allow numeric status tags

When using status_tag it is sometimes useful to use "numeric" tags (for eg. for user rankings to visualize some associated state).

This patch adds simple to_s before titleize calls inside the StatusTag class.
The second commit adds a check into #status_to_class to avoid generating classes names (such as "1") for the non-string status types.

Tests have been added accordingly.