method

available_environments

rails latest stable - Class: Rails::DBConsole

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

available_environments()
protected

No documentation available.

# File railties/lib/rails/commands/dbconsole.rb, line 167
    def available_environments
      Dir['config/environments/*.rb'].map { |fname| File.basename(fname, '.*') }
    end