I am trying to see what is going wrong with my encoding of variables in my view. So I fire up rails console and try to do
$ rails console
Loading development environment (Rails 3.2.11)
irb(main):001:0> html_escape({:a=>1, :b=>"my str"})
NoMethodError: undefined method `html_escape' for main:Object
How do I use h or html_escape in rails console?