Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

symbolize_keys => symbolize_keys! on new hash;

"There're" => There are for better readability
  • Loading branch information...
commit c52c2682bf03192755ccf8c15ab641090815cacf 1 parent 30f9237
@vipulnsward vipulnsward authored
View
2  actionpack/lib/action_view/helpers/date_helper.rb
@@ -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)
View
2  activesupport/lib/active_support/hash_with_indifferent_access.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.