reconfigured. rails 4 screwed things up