diff options
author | Xavier Noria <fxn@hashref.com> | 2016-08-06 18:48:35 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-08-06 18:48:35 +0200 |
commit | 66a7cfa91045e05f134efc9ac0e226e66161e2e6 (patch) | |
tree | 39b8554cfe4e27a30be3eed905bc2afcc26cfe89 /actionview/lib/action_view/helpers/active_model_helper.rb | |
parent | bde6547bb6a8ddf18fb687bf20893d3dc87e0358 (diff) | |
download | rails-66a7cfa91045e05f134efc9ac0e226e66161e2e6.tar.gz rails-66a7cfa91045e05f134efc9ac0e226e66161e2e6.tar.bz2 rails-66a7cfa91045e05f134efc9ac0e226e66161e2e6.zip |
applies new string literal convention in actionview/lib
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
Diffstat (limited to 'actionview/lib/action_view/helpers/active_model_helper.rb')
-rw-r--r-- | actionview/lib/action_view/helpers/active_model_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/active_model_helper.rb b/actionview/lib/action_view/helpers/active_model_helper.rb index d5222e3616..4f76195760 100644 --- a/actionview/lib/action_view/helpers/active_model_helper.rb +++ b/actionview/lib/action_view/helpers/active_model_helper.rb @@ -1,5 +1,5 @@ -require 'active_support/core_ext/module/attribute_accessors' -require 'active_support/core_ext/enumerable' +require "active_support/core_ext/module/attribute_accessors" +require "active_support/core_ext/enumerable" module ActionView # = Active Model Helpers @@ -42,7 +42,7 @@ module ActionView end def tag_generate_errors?(options) - options['type'] != 'hidden' + options["type"] != "hidden" end end end |