Module | VestalVersions::Versioned |
In: |
lib/vestal_versions/versioned.rb
|
Simply adds a flag to determine whether a model class if versioned.
For all ActiveRecord::Base models that do not call the versioned method, the +versioned?+ method will return false.
Overrides the versioned method to first define the +versioned?+ class method before deferring to the original versioned.