No description, website, or topics provided.
Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
README.md
Rakefile
activerecord_tor_node.gemspec

README.md

ActiveRecordTorNode

  • detect access from tor

Installation

Add this line to your application's Gemfile:

gem 'activerecord_tor_node'

And then execute:

$ bundle

Or install it yourself as:

$ gem install activerecord_tor_node

Usage

$ bundle exec rails g migration create_tor_node ip:string:index
TorNode.fetch_tor_nodes_ip!
TorNode.is_tor?('127.0.0.1')