Displaying posts tagged: ruby

Rails search in 5 minutes

No Comments
I got to the point of needing to add search to the CMS I'm working on, so did a quick google search to see if there was any existing help for doing search in Rails. Up popped a result on the Rails Wiki, TextSearch. After reading through, it was a basic module for adding search code ...

The Fast-CGI difference

No Comments
Having got my Rails CMS working under CGI last night, this morning I switched it to dispatch.fcgi and it really does make a serious speed difference! Running with dispatch.cgi the app was pretty slow, taking a few seconds for each page to load, while using Fast-CGI it's near instantaneous. I'd never actually tried using normal CGI ...

Deploying a Rails app...

No Comments
Not as easy as you'd imagine. Today I tried moving my Rails-based CMS code onto my host's server so I could combine a bit of PHP code with it until I get time to re-write in Ruby (image manager plugin for XINHA). Having run rails on the server to create a default Rails directory structure, I ...

Wow, that was easy

1 Comment
I just got around to looking into creating RSS feeds for the news section of the CMS I'm building in Rails, so dug out my still-new Rails Recipes book and was pleasantly surprised to see how easy it was. Obviously, an RSS feed is just XML which is simple to churn out, but Rails' XML Builder ...

One flaw of Rails

4 Comments
... is that it's only relatively recently become popular so it can be hard finding advice on problems when programming. I've come across a couple of issues so far where I've posted on forums and it's taken a day or two before you get any kind of response and a couple of times there just plain ...