Panasonic Youth rob sanheim writes about software, business, ruby, music, stuff and things



Posted
27 March 2006 @ 4pm

Tagged
Macintosh, Rails, Ruby, Usability, WebDev

Discuss

IDEA vs Textmate, and Rails 1.1 web services

Patrick has a well-reasoned comparison of IntelliJ IDEA and Textmate and how well this work with HTML/CSS. IDEA wins out for code completion and error highlighting, but Textmate wins for its light footprint and speed. Its good to see a balanced comparison of tools from someone who works with both.

Jamis highlights how easy it is to add web-services to your models in Rails 1.1, allowing you to do a simple xml web service with just this:

def list
    @people = Person.find(:all)

    respond_to do |wants|
      wants.html
      wants.xml { render :xml => @people.to_xml }
    end
  end

Very nice.


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment

Ruby and Ruby on Rails Book Roundup Wikipedia = new hotness. Encyclopedia Britannica = old and busted.