📜  if rails.env.development - Ruby 代码示例
📅  最后修改于: 2022-03-11 15:04:48.190000             🧑  作者: Mango
代码示例1
Rails.env.production? #=> true
Rails.env.staging? #=> false
Rails.env.development? #=> false