kristianmandrup/cantango — pull request #27 by pcmantz (2012-10-26 23:54:17+00:00)
Title: Concatenate lists to lists instead of appending them

I was trying to figure out why @rules in the class CanCan::Abilility was in a list-of-lists; it turns out it was because engine_rules is appended instead of being concatenated in lib/cantango/ability/engine_helpers.rb:7.

I have not had the time to set up a testing environment to check this, but I suspect the elementary nature of the changes should speak for themselves.

I have not had a chance to look at cantango-permits and cantango-roles, do those modules have similar issues?