Table of Contents - pg_rls-0.0.1.4.2 Documentation
Pages
- abstract_base_class.rb.tt
- convert_migration.rb.tt
- convert_migration_backport.rb.tt
- init_convert_migration.rb.tt
- init_migration.rb.tt
- init_model.rb.tt
- migration.rb.tt
- model.rb.tt
- README
- pg_rls.rb.tt
- Rakefile
- admin_database.rake
Classes and Modules
- PgRls
- PgRls::Base
- PgRls::Database
- PgRls::Database::Prepared
- PgRls::Error
- PgRls::Errors
- PgRls::Errors::TenantNotFound
- PgRls::Generators
- PgRls::Generators::ActiveRecordGenerator
- PgRls::Generators::InstallGenerator
- PgRls::Generators::PgRlsGenerator
- PgRls::MultiTenancy
- PgRls::Railtie
- PgRls::Schema
- PgRls::Schema::DownStatements
- PgRls::Schema::Statements
- PgRls::Schema::UpStatements
- PgRls::SecureConnection
- PgRls::Tenant
Methods
- ::admin_execute — PgRls
- ::all_tenants — PgRls
- ::connection_class — PgRls
- ::current_connection_username — PgRls
- ::database_configuration — PgRls
- ::database_connection_file — PgRls
- ::default_connection? — PgRls
- ::establish_default_connection= — PgRls
- ::establish_new_connection — PgRls
- ::execute — PgRls
- ::fetch — PgRls::Tenant
- ::find_tenant — PgRls::Tenant
- ::grant_user_credentials — PgRls::Database::Prepared
- ::included — PgRls::MultiTenancy
- ::included — PgRls::SecureConnection
- ::main_model — PgRls
- ::new — PgRls::Generators::InstallGenerator
- ::new — PgRls::Errors::TenantNotFound
- ::setup — PgRls
- ::switch — PgRls::Tenant
- #add_rls_column — PgRls::Schema::UpStatements
- #add_rls_column_to_tenant_table — PgRls::Schema::UpStatements
- #aplication_controller_already_included? — PgRls::Generators::InstallGenerator
- #aplication_record_already_included? — PgRls::Generators::InstallGenerator
- #append_blocking_function — PgRls::Schema::UpStatements
- #append_trigger_function — PgRls::Schema::UpStatements
- #check_class_collision — PgRls::Generators::ActiveRecordGenerator
- #class_path — PgRls::Base
- #controller_class_path — PgRls::Base
- #convert_file_sub_name — PgRls::Generators::ActiveRecordGenerator
- #convert_migration_template_path — PgRls::Generators::ActiveRecordGenerator
- #convert_tenant_migration_file — PgRls::Generators::ActiveRecordGenerator
- #convert_to_rls_table — PgRls::Schema::Statements
- #convert_to_rls_tenant_table — PgRls::Schema::Statements
- #copy_initializer — PgRls::Generators::InstallGenerator
- #create_file_sub_name — PgRls::Generators::ActiveRecordGenerator
- #create_migration_file — PgRls::Generators::ActiveRecordGenerator
- #create_migration_template_path — PgRls::Generators::ActiveRecordGenerator
- #create_model_file — PgRls::Generators::ActiveRecordGenerator
- #create_rls_blocking_function — PgRls::Schema::UpStatements
- #create_rls_policy — PgRls::Schema::UpStatements
- #create_rls_setter_function — PgRls::Schema::UpStatements
- #create_rls_table — PgRls::Schema::Statements
- #create_rls_tenant_table — PgRls::Schema::Statements
- #create_rls_user — PgRls::Schema::UpStatements
- #create_tenant_migration_file — PgRls::Generators::ActiveRecordGenerator
- #detach_blocking_function — PgRls::Schema::DownStatements
- #detach_trigger_function — PgRls::Schema::DownStatements
- #drop_rls_blocking_function — PgRls::Schema::DownStatements
- #drop_rls_column — PgRls::Schema::DownStatements
- #drop_rls_policy — PgRls::Schema::DownStatements
- #drop_rls_setter_function — PgRls::Schema::DownStatements
- #drop_rls_table — PgRls::Schema::Statements
- #drop_rls_tenant_table — PgRls::Schema::Statements
- #drop_rls_user — PgRls::Schema::DownStatements
- #establish_secure_connection — PgRls::SecureConnection
- #initialize_error_text — PgRls::Generators::InstallGenerator
- #inject_include_to_application_controller — PgRls::Generators::InstallGenerator
- #inject_include_to_application_record — PgRls::Generators::InstallGenerator
- #inject_method_to_model — PgRls::Generators::ActiveRecordGenerator
- #installation_in_progress? — PgRls::Generators::ActiveRecordGenerator
- #message — PgRls::Errors::TenantNotFound
- #migration_action — PgRls::Generators::ActiveRecordGenerator
- #migration_exist? — PgRls::Generators::ActiveRecordGenerator
- #migration_path — PgRls::Generators::ActiveRecordGenerator
- #migration_version — PgRls::Generators::ActiveRecordGenerator
- #model_file — PgRls::Generators::ActiveRecordGenerator
- #model_template_path — PgRls::Generators::ActiveRecordGenerator
- #nested_parent_class_name — PgRls::Base
- #nested_parent_id — PgRls::Base
- #nested_parent_name — PgRls::Base
- #orm_error_message — PgRls::Generators::InstallGenerator
- #plural_nested_parent_name — PgRls::Base
- #regular_class_path — PgRls::Base
- #reset_tenant_id — PgRls::Errors::TenantNotFound
- #revert_rls_table — PgRls::Schema::Statements
- #revert_rls_tenant_table — PgRls::Schema::Statements
- #secure_connection_established? — PgRls::SecureConnection
- #show_readme — PgRls::Generators::InstallGenerator
- #switch_tenant — PgRls::MultiTenancy