No commit activity in last 3 years
No release in over 3 years
用于给项目创建一个sql控制台
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 5.2, >= 4.0
 Project Readme

LittleSqlClient

A streamlined SQL query tool for rails

example

Installation

Add this line to your application's Gemfile:

gem 'little_sql_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install little_sql_client

Usage

$ rails g little_sql_client:install

in 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"
  end

and then open url "your_project_host/sql_records"

License

The gem is available as open source under the terms of the MIT License.