RubyGems Navigation menu

army-negative 1.0.0

When this gem is loaded in your rails app (Gemfile) your MySQL connection adapter for ActiveRecord will be monkey-patched. The patch simply tweaks it to store all boolean "true" values as negative one instead of positive one inside your TINYINT columns. It also patches it to recognize and interpret negative one as "true". Positive one will still be recognized as true as well. Used for special cases, such as developing rails apps that must, for example, work with existing databases that use such a convention.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 3.1.0 - September 14, 2011 (11 KB)
  2. 3.0.0 - September 13, 2011 (10.5 KB)
  3. 2.0.0 - September 12, 2011 (11.5 KB)
  4. 1.0.0 - March 11, 2011 (6 KB)

Owners:

Authors:

  • Kendall Gifford

SHA 256 checksum:

2a8215316de14343b406f1c700fdb940d11df602701e0b8f382492191a8570b6

Total downloads 18,640

For this version 4,416

Licenses:

N/A

Required Ruby Version: None

Required Rubygems Version: >= 1.3.6

Links: