By default, when an an Erubis template raises an error, you get something like this: (erubis):32:in `evaluate\': compile error (SyntaxError)
As I\'m playing with Rails and developing views I often want to comment out code. Simple enough with classes & models but views are a bit more tricky.
i found out erubis, the \"fast, secure, and very extensible implementation of eRuby\", now after instal开发者_运维技巧l through gem install erubis, my question is how to run in on mac?
I just discovered Erubis, a replacement for the default view renderer for Ruby on Rails. However, from what I can tell from reading about it, it\'s superior across the board.
I have several frequent Cron jobs that are run via Rake and the output of those jobs are e-mailed (via a MAILTO).Due to the fact that these tasks load the Rails environment (which includes Erubis) the
I have a ruby class that extends Erubis (a ruby templating engine) and I would like to create my own tags. The following is an example of what i\'d like to be reproduce: