Browse files

Document fork

  • Loading branch information...
1 parent 5c47033 commit c678fc8d454908abe81047c092c7580a67901e12 @pboling committed Apr 5, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.rdoc
@@ -1,3 +1,17 @@
+==Notes on this fork
+This fork of xing/flag_shih_tzu is in production use on
+It has been maintained by Peter Boling (pboling) for several years.
+It add a few (fully tested, fully backwards compatible) features to the official flavor (xing):
+* ClassWithHasFlags.set_#{flag_name}_sql # Returns the sql string for setting a flag for use in customized SQL
+* ClassWithHasFlags.unset_#{flag_name}_sql # Returns the sql string for unsetting a flag for use in customized SQL
+* ClassWithHasFlags.flag_columns # Returns the column_names used by FlagShihTzu as bit fields
+* has_flags :strict => true # DuplicateFlagColumnException when a single DB column is declared as a flag column twice
+* Less verbosity for expected conditions when the DB connaction for the class is unavailable.
+* Tests for additional features, but does not change any behavior of official version by default.
+* Easily migrate from official version. No code changes required.
Bit fields for ActiveRecord

0 comments on commit c678fc8

Please sign in to comment.