Updated rails.
Fixed merge conflicts.
Fixed merge conflicts.