This is kind of weird thing, I cannot explain it, but I will show you my
code - this would explain it better.
I have a helper method:
and in my view I have:
<% @array.each do | ar | %>
<%= month_in_words(ar) %>
<% end %>
The result I’m getting in the view is the same for every call to helper
method month_in_words even if it’s getting different value in the
Debugger (from ruby script/server console):
Why do I keep getting Jun, is this a error within RubyonRails or is it
something I did not understand yet?