Mellell - Lots to say

Web 2.0 Rails/Telephony Architect

Decorator Patterns and REST articles

April 18th, 2007

Some useful reading on Decorator patterns and latest dope on REST vs. SOAP

Read the rest of this entry

Developing Rails views

February 23rd, 2007

Markaby is good for generating views. It is pure ruby which generates html. MasterView generates ready made erb templates which can be edited in a WYSIWIG editor like NVU or a non-WYSISYG editor like Bluefish. cssed is good for editing css. There's mablate to translate rhtml to Markaby

0 comments »

Mephisto on Dreamhost lessons

February 21st, 2007

No need to add to the many blog posts on how to install Mephisto on Dreamhost. We focus here on a few of our hard learned lessons in the course of deploying (one of our first) Mephisto on Dreamhost. Some of the items don't relate specifically to Mephisto, but they're here since you may run into them.

  1. Make sure you freeze the latest version of Rails.
  2. Mephisto needs the tzinfo gem. However, you can't install it in the system Gem repository, so you have to make a local gem repository. But hang on, that's not enough.
  3. You might get weird, unexplainable errors when trying to install a gem in the local repository. It might be necessary to wipe the gem cache. that did it for us.
  4. Mephisto still wouldn't run. We finally had to rely on downloading tzinfo.tar.gz, unpacking and placing it directly in vendor as described here
  5. Watch you file permissions. In general, they should all be 0711, except that .htaccess, and the subdirectories images, javascripts, stylesheets and tags, all under the public subdirectory have to be world readable at least. 6.In the Dreamhost panel, point the site to the public subdirectory.
  6. If you have trouble, we're here and will be glad to relate to your questions.
0 comments »

 

Categories

Archives