update sample controller code
Merge pull request #17 from teeparham/patch-1

docs: update sample controller code
Handle single table inheritance
Fix for handling STI table
Merge pull request #18 from tight/master

Single Table inheritance
Fixing issue #22

Fixed a bug in BitmaskAttributes::Definition.validate_for
when trying to log a message and added a test reprodue the bug.
Introduce raw bitmask setter.

This allows to assign bitmasks directly in raw Fixnum notation.
Ensure unsupported values for raw bitmasks raise an exception
First reset instance variable then write attribute.

That way we get the correct return value and not only nil every
time we call that method.
Introduce inverse convenience class method

With this inverse operation it is possible to provide a Fixnum
(as it is usually stored in the DB) and get its respective value
for that attribute.
Merge pull request #26 from b4mboo/inverse_convenience

Introduce inverse convenience class method
Allow only valid entries when setting raw bitmask values directly
Merge pull request #25 from b4mboo/raw_bitmask_setter

Raw bitmask setter -- looks good... thanks!
Merge pull request #23 from Moove-it/master

Fixing issue #22 -- seems like a reasonable change
Include table name in scope definitions
Merge pull request #29 from adimitrov/include-table-name

Use the table name in scope definitions
Add default option.
Strip trailing whitespace
Add table name to one scope that missed out
add table name scope to or_is_null_condition