weird bug, may need to use Rails 3.2.x to complete