Permalink
Browse files

symbolize_keys => symbolize_keys! on new hash;

"There're" => There are for better readability
  • Loading branch information...
1 parent 30f9237 commit c52c2682bf03192755ccf8c15ab641090815cacf @vipulnsward vipulnsward committed Apr 19, 2013
@@ -808,7 +808,7 @@ def select_year
options[:max_years_allowed] = @options[:max_years_allowed] || 1000
if (options[:end] - options[:start]).abs > options[:max_years_allowed]
- raise ArgumentError, "There're too many years options to be built. Are you sure you haven't mistyped something? You can provide the :max_years_allowed parameter"
+ raise ArgumentError, "There are too many years options to be built. Are you sure you haven't mistyped something? You can provide the :max_years_allowed parameter."
end
build_options_and_select(:year, val, options)
@@ -223,7 +223,7 @@ def stringify_keys; dup end
def deep_stringify_keys; dup end
undef :symbolize_keys!
undef :deep_symbolize_keys!
- def symbolize_keys; to_hash.symbolize_keys end
+ def symbolize_keys; to_hash.symbolize_keys! end
def deep_symbolize_keys; to_hash.deep_symbolize_keys end
def to_options!; self end

0 comments on commit c52c268

Please sign in to comment.