Revert "Rails4"

Reverts jobseekerltd/sunspot#1