Skip to content

Commit

Permalink
fix for ruby 1.8.6 compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Harris <jharris@nytimes.com>
  • Loading branch information
taylorbarstow authored and Jacob Harris committed Mar 3, 2009
1 parent 2e10d8e commit 15fc5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nytimes_articles/query.rb
Expand Up @@ -8,7 +8,7 @@ module Articles
#
class Query
FIELDS = [:only_facets, :except_facets, :begin_date, :end_date, :since,
:before, :fee, :has_thumbnail, :facets, :fields, :query, :offset] + Article::TEXT_FIELDS.map(&:to_sym)
:before, :fee, :has_thumbnail, :facets, :fields, :query, :offset] + Article::TEXT_FIELDS.map{|f| f.to_sym}
FIELDS.each {|f| attr_accessor f}

# Produce a hash which uniquely identifies this query
Expand Down

0 comments on commit 15fc5d0

Please sign in to comment.