Rails 4.0.0 support
Migrated to version 4.0.0