fix to properly include rails 4.1 and not 4.2

(now that 4.1 is out of beta, and 4.2 is in beta)
Added enum support for postgresql.