We have a product where our customer is “allowed” to make minor changes
to the .rhtml views.
Obviously, this can be an issue when updating the software, as changes
need to be merged in. Also, sometimes the customer wants to back out
there change but no longer has the original file.
SOOO…
I’d like to tell them
if you want to change a .rhtml file
just copy it to .rhtmlx and change away
Then rails will pick up the .rhtmlx if present, otherwise will render
the normal .rhtml
I’m not really sure on this, but I’ve been reading up on RESTful stuff
lately and this seems like it could be a great use for the respond_to?
example here:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.