fix for coffeescript when scaffolding Collections