Sha256: 5af1ba46115ea14be8486fac62a2b504bef3387acf23cc8d22429bd5d322ae9a
Contents?: true
Size: 845 Bytes
Versions: 12
Compression:
Stored size: 845 Bytes
Contents
if Object.const_defined?('RailsDb') RailsDb.setup do |config| # # enabled or not # config.enabled = Rails.env.to_s == 'development' # # automatic engine routes mounting # config.automatic_routes_mount = true # set tables which you want to hide ONLY # config.black_list_tables = ['users', 'accounts'] # set tables which you want to show ONLY # config.white_list_tables = ['posts', 'comments'] # # Enable http basic authentication # config.http_basic_authentication_enabled = false # # Enable http basic authentication # config.http_basic_authentication_user_name = 'rails_db' # # Enable http basic authentication # config.http_basic_authentication_password = 'password' # # Enable http basic authentication # config.verify_access_proc = proc { |controller| true } end end
Version data entries
12 entries across 12 versions & 1 rubygems