I have a helper method like this:
module PostsHelper
def foo
"foo"
end
end
And in rails console I check the function, then change the text "foo" to "bar", then reload! the console, but helpers.foo still doesn't return "bar".
Maybe Helper object is already created in the console like this post, I'm not sure about that. Rails Console: reload! not reflecting changes in model files? What could be possible reason?
Only I want to know is how to play with helper method in rails console. Could you show me how to do it?