Posts Tagged ‘ror’

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 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

Sanitize HTML in Ruby

Saturday, July 28th, 2007

RSS have a design that make it easy to generate and fun for webmasters, but it’s a hell for anyone that must write a feed consumer.
Here is some links about html sanitization in Ruby on Rails.