Fred’s Blog


Warning: include(/var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/sidebar2.php) [function.include]: failed to open stream: No such file or directory in /var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/archive.php on line 7

Warning: include() [function.include]: Failed opening '/var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/sidebar2.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php') in /var/www/apps/wordpress/wordpress/wp-content/themes/bluedreamz/archive.php on line 7

Archive for August, 2008

A little Haml tutorial on how to render different formats

19 Aug

Suppose you have a Model called Article that contains a text field and a format field.
You would like to use haml, textile or HTML to edit your Article from the admin interface.

create_table "articles", :force => true do |t|
t.string "title"
t.text [...]

Easy installing Passenger mod_rails on gentoo Linux

06 Aug

To install the great Mod_Rails on Gentoo linux it’s as easy as 5 steps.
Since you are Gentoo user, i don’t need to go to details. You know what you doing.
1. Recompile Apache non-threaded
add this to /etc/portage/package.use
www-servers/apache -threads
and this to /etc/make.conf
APACHE2_MPMS=”prefork”
2. Re emerge apache
# emerge -va apache
3. Passenger is in gentoo portage, but its [...]

Fred’s Blog is Digg proof thanks to caching by WP Super Cache!