Skip to content

Commit

Permalink
Do not try to use as a parameter elements that are not acceptable
Browse files Browse the repository at this point in the history
  • Loading branch information
marcgg committed Aug 19, 2011
1 parent 12c0ea9 commit 03b9630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activeresource/lib/active_resource/base.rb
Expand Up @@ -955,7 +955,7 @@ def split_options(options = {})
prefix_options, query_options = {}, {}

(options || {}).each do |key, value|
next if key.blank?
next if key.blank? || [Fixnum, Date, Time, Float].include?(key.class)
(prefix_parameters.include?(key.to_sym) ? prefix_options : query_options)[key.to_sym] = value
end

Expand Down

0 comments on commit 03b9630

Please sign in to comment.