Posts Tagged ‘rails’

CakePHP vs Ruby on Rails

Friday, September 12th, 2008

Ruby on Rails or PHP, this is the dilemma.
I think that Ruby on Rails is the greatest web development framework i have ever used, but Ruby is too slow, needs the deploy of some libraries, and can be a hell when you need to scale.
On the other side PHP is tedious, but scale well and have a lot of libraries.


What’s new in Rails 2

Saturday, April 5th, 2008

Today i was reading about the new features of Rails 2, there are a lot of changes, for an overview you can checkout the official rails blog announcement. Here is a little list of major changes and new features:

Migrating to Rails 2.0

Saturday, March 22nd, 2008

Today i have done some migrations to Rails 2.0.

Here is a quick todo checklist to upgrade your rails 1.2 to rails 2.0:

  1. Install Rails 2.0, for example with gem install rails
  2. Update system gems with gem update –system
  3. Change the value of RAILS_GEM_VERSION to 2.0.2 in your environment.rb
  4. Add the following lines to your environment.rb:
    config.action_controller.session = {
      :session_key => ‘_application_session’,
      :secret   => ‘secretkey’

    where you can get a secret key running rake secret
  5. Rename all your template files from .rhtml to .html.erb

A little bit of pain for an upgrade that will be automated, why rails developers haven’t wrote an upgrade script?


Ruby on Rails misc resources

Saturday, December 29th, 2007

What is Ruby on Rails?

RubyOnRails Wiki

Installing Ruby, Gems, and Rails

Instant Rails

Locomotive for Mac OS X

Getting started with the Ruby programming language.

Ryby Docs

ONLamp – Rolling with RoR
Part 1:
Part 2:

Installing Rails on Tiger – watch Tiger get Railed!

Rolling with Ruby on Rails on Mac OS X Tiger (for beginners)

Why’s (Poignant) Guide to Ruby

Ruby on Rails IDE

Rails – what goes where…

Really Getting started in Rails

Cheat Sheets:
Rails files:
Form Helpers:

4 Days on Rails

Nuby on Rails

Exploring Ruby on Rails

Creating a small publication management application

AJAX on Rails

AJAX Activity indicators with Rails

More Rails+AJAX stuff on Ajaxian


Some nice Ruby language tutorials.

Distributing Rails Applications

Rails API guide

A Ruby On Rails tutorial for many-to-many relationships

How to build an AJAX-ed spellchecker with Ruby On Rails

Rails FAQ

Sockets Programming in Ruby

Monitor network traffic with Ruby

Comparison: Ruby on Rails vs. J2EE

Ruby on Rails Optimizing Performance

Friday, August 24th, 2007

Ruby on Rails is very fun, i love it, but Ruby sometimes can be slow.. So here there are some hints to speed up your Ruby on Rails web application.

Rails Performance Tips

Rails Performance Tools