Changes to move to rails4
Moving changes to Rails4. Fix for update profile
Merge pull request #3 from indykish/rails4

Rails4 Migration,.