Massive Rails4 changes.
Rails4 changes