Registry / orm / dm-timestamps

dm-timestamps

JSON →
library1.2.0rbrubygemsunverified

DataMapper plugin for magical timestamps on models.

gem install dm-timestamps
INSTALL
IMPORT
SIG · DM-TIMESTAMPS
D
dm-timestamps
ormrubyv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DataMapper::Timestamps
require 'dm-timestamps'

Add automatic timestamp properties to a DataMapper model.

require 'dm-timestamps' class Post include DataMapper::Resource property :id, Serial timestamps :created_at, :updated_at end
Debug
Known issues
breakingDataMapper is no longer actively maintained; consider migrating to ActiveRecord or Sequel.
fix
Use ActiveRecord timestamps (created_at/updated_at) or Sequel's timestamp plugin.
affects: >= 1.0.0
Upgrade
Version history
1.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
66 hits · last 30 days
node
60
Resources
dm-timestamps — gem install dm-timestamps · libregistry