Jared Fine
Jared Fine
I'm seeing this issue as well with Rails 4, mongoid 4, and cancan 1.6.10. The patch above fixes this issue for me as well. @ryanb any reason to not merge...
I just did a major palm to forehead. All this time I was working under the impression that link_to escaped the first param! The way it functions seems completely backwards....
@minaguib > With the current implementation, the flexibility exists to do both. If link_to and friends auto-escape the first (content) argument, there would be no way to use it programmatically...
@NZKoz Very cool and totally understandable with regard to
> please PR a fix? Will do!