Si los rieless.env.desarrollo

Rails.env.production?  #=> true  
Rails.env.staging?     #=> false
Rails.env.development? #=> false 
Lioruby