lib/superstore/adapters/cassandra_adapter.rb in superstore-1.0.12 vs lib/superstore/adapters/cassandra_adapter.rb in superstore-1.1.0
- old
+ new
@@ -10,10 +10,10 @@
@scope = scope
end
def to_query
[
- "SELECT #{select_string} FROM #{@scope.klass.column_family}",
+ "SELECT #{select_string} FROM #{@scope.klass.table_name}",
@adapter.write_option_string,
where_string,
limit_string
].delete_if(&:blank?) * ' '
end