Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ruby 1.9.2 compatability

  • Loading branch information...
commit ec722e24d7d0e156a5363beb99eecda4ce2aa11d 1 parent 440db7c
Jonathan Weiss authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rocking_chair/view.rb
2  lib/rocking_chair/view.rb
View
@@ -210,7 +210,7 @@ def filter_items_not_in_range(attribute, start_key, end_key)
end
def filter_items_by_key_in_attribute_group(attribute)
- filter_key = (options['key'] || options['startkey']).to_s
+ filter_key = [options['key'] || options['startkey']].flatten.first.to_s
@keys = keys.select do |key|
document = ruby_store[key]
document_attribute = RockingChair::Helper.access(attribute, document)
Please sign in to comment.
Something went wrong with that request. Please try again.