ActiveRecord Enums are a really good tool to use when you need that ... def up execute <<-SQL ALTER TABLE posts ADD status enum('published', ...
確定! 回上一頁