Improved Logging

8 views
Skip to first unread message

Brendan Mulholland

unread,
Apr 14, 2014, 5:31:48 PM4/14/14
to canc...@googlegroups.com
Hi,

Ryan had a great feature planned to improve the logging of cancan - see https://github.com/ryanb/cancan/issues/316.

In short, this would allow me to generate user friendly errors. Instead of "Cannot access ObjectName" I could say "Cannot access closed ObjectName". That's pretty slick!

Of course, that would also help greatly with debugging.

Has there been anything like that added in or planned out since the fork? Any ideas what it would take to get that going?

Cheers,
Brendan

brite

unread,
Apr 15, 2014, 12:29:56 PM4/15/14
to canc...@googlegroups.com
Hey Brendan,

The improved logging does look awesome and would definitely help me out as well. I'll add it to the todo list, but currently I'm just concentrating on modernizing cancan and ensuring we are testing properly so we can support the various versions of Rails better as this has become a bit of problem and I don't feel comfortable adding to the gem without proper testing.  When we're at a more stable level, I'll start to focus more on feature additions etc.

Pull Requests are definitely welcome, although off the top of my head I don't know what this improved logging would entail.

Thanks!
Reply all
Reply to author
Forward
0 new messages