Fixed the rails strong parameters in spaces_controller.