app/helpers/sessions_helper.rb
# Returns true iff this is not the REAL final production system,
# including the master/main and staging systems.
# It only returns false if we are "truly in production"
Returns true iff this is not the REAL final production system,
including the master/main and staging systems.
It only returns false if we are "truly in production"
Returns true iff this is not the REAL final production system including the master / main and staging systems . It only returns false if we are " truly in production "
def in_development?(hostname = ENV['PUBLIC_HOSTNAME'])
    return true if hostname.nil?
    hostname != PRODUCTION_HOSTNAME
  end
def in_development? ( hostname = ENV [ 'PUBLIC_HOSTNAME' ] ) return true if hostname . nil? hostname != PRODUCTION_HOSTNAME end
Returns true iff this is not the REAL final production system,
including the master/main and staging systems.
Returns true iff this is not the REAL final production system including the master / main and staging systems .
hostname
<not_specific>