Open wingrunr21 opened 12 years ago
When add_permission is called, specifying a symbol will succeed in the regex match but will create different entries within the permissions hash. Symbols should be normalized to strings to prevent this behavior.
Why not use .to_s?
Probably will.
When add_permission is called, specifying a symbol will succeed in the regex match but will create different entries within the permissions hash. Symbols should be normalized to strings to prevent this behavior.