Adding support for ActiveRecord ~>4.0.0

Should be self explanatory?