Remove binding.pry, modify model creation string based on Rails version.