Articles

Ruby Snippets 1

Ruby Command line arguments. The first option coming after the options to ruby itself is ARGV[1]. Continue Reading…

Posted by Administrator on Jun 27, 2007

Why RadiantCMS?

Why not?

I consider myself above the unwashed blogger, MT, WordPress, Drupal et al hordes, Hoi polloi, the whole lot !!

I have no interest in a YAWP, YAMT, YAblogger blog!!

Rather sheepishly I have absolutely no idea about Markdown, SmartyPants and Textile to format this text properly.

It is more to give myself an idea about the whole Ruby and Rails development paradigm.

Funnily enough I wanted to be able to run multiple apps on the domain and I realized due to the way rails is handled the relative links weren’t right. So I have had to symlink my www/html directory into radiant/public to get this to show up.

The original idea was to get access this site by http://voipfc.meripol.net/cms but realised that links were not working because cms was not prepended to the links. I went through the whole gamut involving ActionController::AbstractRequest.relative_url_root = "/railsapp"

and

RAILS_RELATIVE_URL_ROOT = "/railsapp"

but couldn’t get it to work.

After I moved to DocumentRoot and symlinked www/html to radiant/public the above option began to work and sent my CSS haywire. Any idea on how it is configured?

Confession: I am a heavy Drupal user! Saying bad things about Drupal won’t get me assistance in the Drupal forums

Continue Reading…

Posted by Administrator on Jun 08, 2007

Third Post

This is the third post.

Posted by Administrator on Jun 07, 2007

Second Post

This post uses Markdown.

Posted by Administrator on Jun 10, 2006

First Post

This post uses textile.

Posted by Administrator on Jun 09, 2006