Categories: None [Edit]

army-negative

https://rubygems.org/gems/army-negative
https://github.com/zettabyte/army-negative
When this gem is loaded and activated inside your rails app, 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. For a rails app version X.Y.Z, use army-negative version "~> X.Y.0". For example, a rails 3.0.x app should use "~> 3.0.0" and a 3.1.x app would use "~> 3.1.0", etc. The exception is that rails 2.3.x apps should just use "~> 2.0" since 2.3 is the earliest version of rails that's supported.

Total

Ranking: 55,058 of 189,933
Downloads: 19,905

Daily

Ranking: 43,160 of 189,920
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,219,693,676bundler
29954,622,386rspec
45714,769,433rails
210226,698,837mysql2
50496,808,038cucumber

Owners

#GravatarHandle
1iconchienpo