Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Ruby 1.9.2 compatability
  • Loading branch information
jweiss committed Aug 11, 2011
1 parent 440db7c commit ec722e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rocking_chair/view.rb
Expand Up @@ -210,7 +210,7 @@ def filter_items_not_in_range(attribute, start_key, end_key)
end end


def filter_items_by_key_in_attribute_group(attribute) 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| @keys = keys.select do |key|
document = ruby_store[key] document = ruby_store[key]
document_attribute = RockingChair::Helper.access(attribute, document) document_attribute = RockingChair::Helper.access(attribute, document)
Expand Down

0 comments on commit ec722e2

Please sign in to comment.