Check if config responds_to action_view or not

- On Rails master, config no longer responds_to 'action_view' method.
- Added a check to confirm that