Add specific code for activerecord 4.2
Update enum property gem for rails 4.2