Rails 4 compatibility

just depend on actionpack > 2 so it matches 3.x and 4.x