RubyGems Navigation menu

army-negative 3.1.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. 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.

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):

mysql2 ~> 0.3.7
rails ~> 3.1.0

Development 相依性套件 (3):

bundler ~> 1.0.18
cucumber ~> 1.0.5
rspec ~> 2.6.0

擁有者:

作者:

  • Kendall Gifford

SHA 256 總和檢查碼:

=

總下載次數 19,116

這個版本 5,564

版本发布:

授權:

Ruby 版本需求:

相關連結: