diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/debug_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/debug_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/debug_helper.rb b/actionpack/lib/action_view/helpers/debug_helper.rb index d8b92c5cab..d361a69a92 100644 --- a/actionpack/lib/action_view/helpers/debug_helper.rb +++ b/actionpack/lib/action_view/helpers/debug_helper.rb @@ -11,7 +11,7 @@ module ActionView # If the object cannot be converted to YAML using +to_yaml+, +inspect+ will be called instead. # Useful for inspecting an object at the time of rendering. # - # @user = User.new({ :username => 'testing', :password => 'xyz', :age => 42}) %> + # @user = User.new({ username: 'testing', password: 'xyz', age: 42}) %> # debug(@user) # # => # <pre class='debug_dump'>--- !ruby/object:User |