Ruby on Rails 2.0 Pulls Into Station


New version expands REST support, resource handling


Email    print   
January 1, 2008 —  Ruby on Rails 2.0 chugged into the depot in early December. The new version of this open source Web framework brings with it numerous improvements to the granular syntax of ROR development, and to the way that basic resources are handled.

For developers coding things such as change management systems or forums, a new namespace for routing resources will allow for easier restriction of administrative screens and limited access areas. The push for simpler and more plentiful resource handling also led to the decision to make all resource-based controllers plural by default, allowing users to map multiple contexts and still refer to the same controller.

Of course, improved REST support implies that the framework has moved closer to the HTTP layer itself, and indeed it has. A new module in RoR 2.0 handles authentication and HTTP handshaking; giving the framework a new way to verify APIs via SSL. Also added in version 2.0 is support for HTTP-only cookies, a standard that is not yet supported in all browsers.

Rescuing common exceptions in RoR has previously required an elaborate dance with the command. In version 2.0, a new, more generic “rescue” command has been added to allow developers to declaratively point exceptions to specific actions, such as passing an unauthorized user off to a null page.

Debugging is still something of an Achilles’ heel for Ruby developers, but RoR 2.0 attempts to help with this problem by including a new request profiler. The profiler outputs information on bottlenecks in automatically generated HTML reports.

RoR 2.0 is available for free online at www.rubyonrails.org. The framework may also see a small update to accommodate version 2.0 of the Ruby language, which was expected to arrive in time for Christmas.





Share this link: http://sdt.bz/31481
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
Out of Merb merger comes Ruby on Rails 3.0
The Web application platform adopts the Active Record query engine and the Railtie Rails framework Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb