EppO/rolify — Issue #29: incorrect check for Rails::Console in initializer for dynamic_shortcuts
Author: mrnosal
Created: 2012-01-11 21:02:31+00:00
State: open

In the initializers/rolify.rb file, it checks to enable the dynamic_shortcuts. The check fails though because `defined?(Rails::Console)` returns the string `"constant"` and not the boolean `true`. Same for `defined?(Rails::Server)`
Could change the if to simply check for not nil.
(ruby 1.9.2 + Rails 3.1.3)