check for ActionView to detect rails

close #349
remove old comment

[ci skip]