Updated Gemfile, upgraded rails version to 4.0.0
Updated congig after upgrading to rails4
Removed attribute accessbile from model