Created
April 3, 2013 17:13
-
-
Save romulostorel/5303177 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def change | |
MultipleClassroom.all.each do |multiple_classroom| | |
multiple_classroom.academic_classrooms << multiple_classroom.first_academic_classroom if multiple_classroom.first_academic_classroom | |
multiple_classroom.academic_classrooms << multiple_classroom.second_academic_classroom if multiple_classroom.second_academic_classroom | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment