RubyGems Navigation menu

date_as_bool 0.1.1

DateAsBool is a simple Rails Gem to get both a datetime and a boolean behaviour from the same database column. Save verified_at:datetime on DB, use user.verified for instances and User.verified as a scope.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - July 04, 2018 (7 KB)
  2. 0.1.0 - September 10, 2017 (6.5 KB)

Runtime Dependencies (1):

rails ~> 5.1.3

Development Dependencies (1):

sqlite3 >= 0

Owners:

Authors:

  • Carlo Martinucci

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 4,073

For this version 2,152

License:

MIT

Required Ruby Version: >= 0

Links: