Module: VestalVersions::Reload

Defined in:
lib/vestal_versions/reload.rb

Overview

Ties into the existing ActiveRecord::Base#reload method to ensure that version information is properly reset.

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



5
6
7
8
9
10
# File 'lib/vestal_versions/reload.rb', line 5

def self.included(base) # :nodoc:
  base.class_eval do
    include InstanceMethods

  end
end