Rails 4

Migration Successful. All tests passed. 

Now have to migrate to Rails 4.1 where some procedures are deprecated, right now using gems for those procedures. Will remove in the next patch.