check ::Rails::VERSION instead of ::ActionView