lib/acts_as_changesetable/acts/changeable_history.rb
# Turns of Rails' autotimestamping if we want to copy timestamps ourselves
# Then add a belongs_to for :changeset
Turns of Rails' autotimestamping if we want to copy timestamps ourselves
Then add a belongs_to for :changeset
Turns of Rails ' autotimestamping if we want to copy timestamps ourselves Then add a belongs_to for : changeset
def changeable_history_setup
        unless self.changesetable_options.no_copy_timestamps?
          self.instance_eval {
            def record_timestamps; return false; end;
            def record_timestamps=(arg); return false; end;
          }
        end
        belongs_to :changeset, :class_name => self.changeset_class_name
        after_find :filter_invalid_changesets
      end
def changeable_history_setup unless self . changesetable_options . no_copy_timestamps? self . instance_eval { def record_timestamps ; return false ; end ; def record_timestamps = ( arg ) ; return false ; end ; } end belongs_to :changeset , :class_name => self . changeset_class_name after_find :filter_invalid_changesets end
Turns of Rails' autotimestamping if we want to copy timestamps ourselves
Then add a belongs_to for :changeset
Turns of Rails ' autotimestamping if we want to copy timestamps ourselves Then add a belongs_to for : changeset