rails/prototype-rails — pull request #22 by walterdavis (2013-02-12 20:26:19+00:00)
Title: Revised, using .present? test instead of Rails.env

This also works, thanks for the tip. Devise works with this patch.