app/volt/tasks/live_query/data_store.rb in volt-0.8.22 vs app/volt/tasks/live_query/data_store.rb in volt-0.8.23
- old
+ new
@@ -14,10 +14,10 @@
cursor = db[collection].find(query)
cursor = cursor.skip(skip) if skip
cursor = cursor.limit(limit) if limit
- return cursor.to_a
+ cursor.to_a
end
def drop_database
db.connection.drop_database(Volt.config.db_name)
end