Feature/rails4 compat

Closes https://github.com/JustinAiken/my_timeline/issues/1