Forum: Ruby on Rails Dynamic Text Replacement

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jim J. (Guest)
on 2005-12-15 22:56
(Received via mailing list)
I noticed there are a lot of PHP based dynamic text replacement
examples out there such as:

Is there anything like this for Ruby / Rails?  I know there's always
SiFR but that method is often frustrating because I've noticed
significant slow down in page load time even on pages that use it
Fabien F. (Guest)
on 2005-12-15 23:29
(Received via mailing list)
> Is there anything like this for Ruby / Rails? 

I have something similar in my PHP framework. It's the perfect approach

So who's the first to claim RoR image replacement? If I get around it on
I'll give it a shot.

- Fabien
Ken B. (Guest)
on 2005-12-15 23:51
(Received via mailing list)
Can someone explain why I would want to do this?  After looking at the
example, I just don't see the usefullness of this feature.
Andrew S. (Guest)
on 2005-12-20 17:03
(Received via mailing list)
Mainly, its there so you can put your headers in fonts that the user may
have on his PC.
Ken B. (Guest)
on 2005-12-20 17:15
(Received via mailing list)
Got it..  go through a lot of extra work to have someone view a graphic
instead of plain text.
Andrew S. (Guest)
on 2005-12-22 17:18
(Received via mailing list)
Right, althogh ideally, once you put the framework in place, it would
minimize (or even eliminate) the "a lot of extra work" part, at least on
your part (obviously the server still has to slave away serving the
Dan W. (Guest)
on 2005-12-22 20:07
(Received via mailing list)

I've just implemented the exact thing you are after on our new blog, using RMagick.  I'd like to release
the code soon but I've not got it up to library standard yet
(configuration is not as easy as it would need to be for general use).
 Its a little more complex than the PHP ones posted because we wanted
the replaced text to wrap in liquid layouts and we didn't use the
native text rendering because it was a bit nasty and my design
collegue is really picky (see this post:

If you can wait untill after xmas I'll release it as a plugin...when
it's out I'd love some feedback.



On 12/22/05, Andrew S. <removed_email_address@domain.invalid> wrote:
> >
> > >>
> > >>>
> > >> removed_email_address@domain.invalid
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid

Dan W.
This topic is locked and can not be replied to.