bin/console in usable-0.3.0 vs bin/console in usable-1.0.0
- old
+ new
@@ -10,14 +10,14 @@
# require "pry"
# Pry.start
module VersionKit
def save_version
- "Saving up to #{self.class.config.max_versions} versions to #{self.class.config.table_name}"
+ "Saving up to #{self.class.usable_config.max_versions} versions to #{self.class.usable_config.table_name}"
end
def destroy_version
- "Deleting versions from #{self.class.config.table_name}"
+ "Deleting versions from #{self.class.usable_config.table_name}"
end
end
class Model
extend Usable