Perhaps not for beginners but at some point in my rails development work
I realized that complex rjs files can be more trouble than they are
good reason frankly and doing anything non-trivial (if statements, loops
and then invoke it in the rjs…i.e page.call “someFunction”, “param1”,
but what if I REALLY want to be able to dynamically evaluate ruby code
as part of the template…I have used a plugin called MinusMOR
way as writing html and embedding ruby in erb.
opinion) and often it is actually easier just to bite the bullet and use