lib/dm-adapter-simpledb/table.rb in dm-adapter-simpledb-1.3.0 vs lib/dm-adapter-simpledb/table.rb in dm-adapter-simpledb-1.4.0
- old
+ new
@@ -18,11 +18,12 @@
@model = model
end
# Returns a string so we know what type of
def simpledb_type
- model.storage_name(repository_name)
+ model.storage_name(DataMapper.repository.name)
end
+ alias_method :storage_name, :simpledb_type
def repository_name
# TODO this should probably take into account the adapter
model.repository.name
end