I want to store a number of snippets of html representing messages,
and display them in response to user events.
then display individual snippets using Element.update(). The
message array can get extra messages added to it following an ajax
call. The set up looks something like this:
…which works, but it just feels so…unpleasant. Embedding this
characters… there must be a cleaner way of doing this. Any
I’m sure there was a blog posting recently about embedding stuff like
this within a .js file generated by erb (rather than the static .js
what that might have been?