I'm trying to follow the Accessing Request Data tutorial in a Rails 4 application but it's not working. I'm getting an error saying: wrong number of arguments (1 for 2)
cancan is not being actively maintained for rails 4 & works but needs hacks/modifications.
Do we have a branch for Rails 4 implementations?
Try the forks in particular this one seems to be working @clemensg/cancan