Skip to content
  • David Heinemeier Hansson's avatar
    47eaf888
    Add Rails.env.local? (#46786) · 47eaf888
    David Heinemeier Hansson authored
    * Add Rails.env.local?
    
    So many checks against Rails.env is whether we're running test or development, so combine into just one.
    
    * Add CHANGELOG
    
    * Prevent 'local' from being used as an environment name
    
    Now that we have it as a combined predicate for dev + test.
    47eaf888
    Add Rails.env.local? (#46786)
    David Heinemeier Hansson authored
    * Add Rails.env.local?
    
    So many checks against Rails.env is whether we're running test or development, so combine into just one.
    
    * Add CHANGELOG
    
    * Prevent 'local' from being used as an environment name
    
    Now that we have it as a combined predicate for dev + test.
Loading