Is there any way, short of lot of log statements, to trace the execution
rails code? Th reason I’m asking has to do with name space, inheritance
I’m preprocessing text before handing it to Redcloth so I have
@text_to_render = MyRender.new( @text.to_s )
Not I know what
but what is and isn’t over-ridden?
If I use any of the depreciated Rails ‘render_’ family that eventually
‘render()’ will this over-ride them? Will it only NOT over-ride them if
invoke it with a MyRender class object
@text_to_render.render( :action => ....
render( :action => …
Or, to ask it another way. How can I override the Rails render and do a
def render( @args ) ... do my stuff ... optionally call the Rails 'render' ... do more of my stuff end
It is not wealth one asks for, but just enough to preserve one’s
work unhampered, to be generous, frank and independent.
W. Somerset Maugham, ‘Of Human Bondage’, 1915