RailsTinyMCE - A Rich Text Editor for ruby on railsTinyMCE is a javascript rich text editor. It is easy to integrate with blogs, cms, messages and mailers.Plugin uses jrails(jquery) and paperclip plugin for upload support.FeaturesProvides rich text editorCustomisable TinyMCE pluginsEasy to integrateSupports Image upload & insertSupports Media upload & Youtube embedTODO: Document upload plugin1. Install … Continue reading Rails Tiny MCE – A Rich Text Editor for ruby on rails
Author: sandipransing
Page Cache control in radiant cms
Radiant CachingRadiant cms is very powerful and customizable cms as of now which has inbuilt support for page caching.Radiant caching mechanisam is somehow similar to action caching in rails.In latest radiant version i.e. > 0.8 Responsecache has been replaced with Radiant::Cache.By default radiant cache gets automatically invalidated after every 5 minutes and that is configurable.The interval is easily … Continue reading Page Cache control in radiant cms
Programming ruby Linux basics
Remove svn files inside directoryrm -rf `find . -type d -name .svnSet path in linuxexport PATH=$PATH:/usr/ruby/binHere /usr/ruby/bin is the path to ruby extecuatble.grep and print process pidps -ef | grep search_string | grep -v grep | awk '{print $2 }'Kill processkill -9 process_id_hereps -ef | grep search_string | grep -v grep | awk '{print $2 … Continue reading Programming ruby Linux basics
