# File lib/migration.rb, line 122 def <=> other if self.position == other.position self.name.to_s <=> other.name.to_s else self.position <=> other.position end end