RubyGems Navigation menu

date_as_bool 0.1.0

A simple Rails Gem to get both a datetime and a boolean behaviour from the same database column, i.e. have a verified_at:datetime to log times of verification and sort, and also .verified? and .verify! methods.

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:

36feb0f484af1f474b721459fd382ef8c9e57b07eeee15d198e6d245c93a7fbc

Total downloads 4,062

For this version 1,916

License:

MIT

Required Ruby Version: >= 0

Links: