support rails4
Merge branch 'rails40'
bump to 4.2.2.0