g5search/rails-authorization-plugin — pull request #1 by digitalmoksha (2011-11-21 14:16:13+00:00)
Title: In Rails 3.1, need to check instance_variables with the symbolized model name

In Rails 3.1, the get_models() method was failing when trying to check for a models instance variable. Looks like it's now stored as a symbol. So added check for the symbolized version of the model name.