Fixtures with Erb _not_ interpreted by loader?

I’ve got an area of my application that is going to vary from customer
to customer so I’ve decided to put the view into the DB and render it
using render :inline. That part is working fine.

My challege is in loading sample views. I’d prefer to do this through
fixtures as I would with some of the other “seed” data that I’ll be
using for the site. The problem is that when I do a db:fixtures:load,
the Erb is being run rather than loaded.

Is there any way to turn off the Erb interpreter so I can get my Erb
(rhtml) into the DB?

Thanks,
AndyV

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs