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.

Links:

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?

Links:

Ruby on Rails misc resources

Saturday, December 29th, 2007

What is Ruby on Rails?
http://www.onlamp.com/lpt/a/6251

RubyOnRails Wiki
http://wiki.rubyonrails.com/rails

Installing Ruby, Gems, and Rails
http://wiki.rubyonrails.com/rails/pages/GettingStartedWithRails

Instant Rails
http://instantrails.rubyforge.org/

Locomotive for Mac OS X
http://locomotive.sourceforge.net/

Getting started with the Ruby programming language.
http://www.loudthinking.com/arc/000199.html

Ryby Docs
http://www.ruby-doc.org/

ONLamp – Rolling with RoR
Part 1: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
Part 2: http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html

Installing Rails on Tiger – watch Tiger get Railed!
http://maczealots.com/tutorials/ruby-on-rails/

Rolling with Ruby on Rails on Mac OS X Tiger (for beginners)
http://www.tonyarnold.com/articles/2005/08/10/rolling-with-ruby-on-rails-on-mac-os-x-tiger-for-beginners

Why’s (Poignant) Guide to Ruby
HTML: http://poignantguide.net/ruby/
PDF: http://poignantguide.net/ruby/whys-poignant-guide-to-ruby.pdf

Ruby on Rails IDE
http://www.radrails.org/

Rails – what goes where…
http://www.slash7.com/articles/2005/03/06/rails-what-goes-where

Really Getting started in Rails
http://www.slash7.com/articles/2005/01/24/really-getting-started-in-rails

Cheat Sheets:
Rails files: http://www.slash7.com/cheats/rails_files_cheatsheet.pdf
Form Helpers: http://www.slash7.com/cheats/form_helpers.pdf
ActiveRecord: http://www.slash7.com/cheats/activerecord_cheatsheet.pdf

4 Days on Rails
http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf

Nuby on Rails
http://nubyonrails.com/

Exploring Ruby on Rails
http://www.linuxjournal.com/article/8217

Creating a small publication management application
http://manuals.rubyonrails.com/read/chapter/48

AJAX on Rails
http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html

AJAX Activity indicators with Rails
http://mir.aculo.us/articles/2005/11/14/ajax-activity-indicators-with-rails-0-14-3
http://www.ajaxian.com/archives/2005/11/ajax_activity_i.html

More Rails+AJAX stuff on Ajaxian
http://www.ajaxian.com/archives/ruby/index.html

Making CAPTCHA
http://frankhale.org/CAPTCHA_RoR_Tutorial.html

Some nice Ruby language tutorials.
http://quickruby.blogspot.com/

Distributing Rails Applications
http://www.erikveen.dds.nl/distributingrubyapplications/rails.html

Rails API guide
http://api.rubyonrails.com

A Ruby On Rails tutorial for many-to-many relationships
http://jrhicks.net/96

How to build an AJAX-ed spellchecker with Ruby On Rails
http://deezsombor.blogspot.com/2005/08/how-to-build-ajax-ed-spellchecker-with.html

Rails FAQ
http://www.railsfaq.org/

Sockets Programming in Ruby
http://librenix.com/?inode=7535

Monitor network traffic with Ruby
http://librenix.com/?inode=7502

Comparison: Ruby on Rails vs. J2EE
http://www-128.ibm.com/developerworks/linux/library/wa-rubyonrails/?ca=dgr-lnxw16RubyAndJ2EE

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