APIdock / Ruby on Rails
/
Browse About
method

env

v4.1.8 - Show latest stable - Class: ActiveRecord::Tasks::DatabaseTasks
env()
public

No documentation available.

# File activerecord/lib/active_record/tasks/database_tasks.rb, line 69
      def env
        @env ||= Rails.env
      end

Related methods

  • Instance methods
  • charset
  • charset_current
  • check_schema_file
  • collation
  • collation_current
  • create
  • create_all
  • create_current
  • current_config
  • db_dir
  • drop
  • drop_all
  • drop_current
  • env
  • fixtures_path
  • load_schema
  • load_schema_current
  • load_schema_for
  • load_seed
  • migrations_paths
  • purge
  • register_task
  • root
  • seed_loader
  • structure_dump
  • structure_load
  • Private methods
  • privateclass_for_adapter
  • privateeach_current_configuration
  • privateeach_local_configuration
  • privatelocal_database?
APIdock API Documentation Browser

© 2026 APIdock