RubyGems Navigation menu

army-negative 2.0.0

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. Use versions ~> 2.0 for rails 2.x apps. and versions > 2 for rails 3 apps.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 3.1.0 - September 14, 2011 (11.0 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.0 KB)

Runtime 依赖 (2):

mysql ~> 2.8.1
rails ~> 2.3.0

Development 依赖 (3):

bundler ~> 1.0.18
cucumber ~> 1.0.3
rspec ~> 2.6.0

业主:

作者:

  • Kendall Gifford

SHA 256 校验和:

d7b61b8cc4263b17a6ea1d339a043308f09ccd5ef6c58d3cec4a654c6d84b7ea

下载总量 18,640

这个版本 4,375

许可:

需要的 Ruby 版本:

链接: