Created
November 16, 2015 13:59
-
-
Save umar-siddiqui/1019bc1a2883d8109f15 to your computer and use it in GitHub Desktop.
delete un wanted discussion questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section.in(name: ['Strategic Integration', 'Operational Integration']).map(&:questions).flatten.select{ |quest| quest.label == 'Discussion' }.map(&:destroy) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment