Working Rails 4.1 support

Tests pass for me. All the info you need should be in the comments. Currently using this in our dev environments without any trouble.