LittleSqlClient
A streamlined SQL query tool for rails
Installation
Add this line to your application's Gemfile:
gem 'little_sql_client'And then execute:
$ bundleOr install it yourself as:
$ gem install little_sql_clientUsage
$ rails g little_sql_client:installin config/initializer/little_sql_client.rb
# setup your safe ip in production mode
LittleSqlClient::Config.ip_white_list = [
# '127.0.0.1'
]to setup your safe ip
in routes.rb
Rails.application.routes.draw do
mount LittleSqlClient::Engine => "/sql_records"
endand then open url "your_project_host/sql_records"
License
The gem is available as open source under the terms of the MIT License.
