Just thought I’d see how easy it was to use erubis rather than erb in
rails, and so far all seems to be pretty easy. Just added a few lines in
environment.rb and everything works as before.
However, one page is causing a problem. It is a partial that is being
passed a local variable. erubis doesn’t seem to see the local, and gives
the following error?
Just thought I’d see how easy it was to use erubis rather than erb in
rails, and so far all seems to be pretty easy. Just added a few lines in
environment.rb and everything works as before.
However, one page is causing a problem. It is a partial that is being
passed a local variable. erubis doesn’t seem to see the local, and gives
the following error?