Andrew Neil wrote:
You could create a custom Radius tag to wrap around the Rails truncate[1]
method. Something like this might do the trick:



Actually, this method should be written up in the Radiant 2009 Documentation project as a good simple example of bringing in Rails methods into Radiant installs - it would help those "entry level" Rails programmers who wonder how to bridge the worlds of Rails and Radiant.

Cheers,
Mohit.
1/12/2009 | 9:28 PM.

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to