Martian eyrie

January 21, 2007

Riding Rails: Rails 1.2: REST admiration, HTTP lovefest, and UTF-8 celebrations

Filed under: RubyOnRails

Riding Rails: Rails 1.2: REST admiration, HTTP lovefest, and UTF-8 celebrations Get out your party balloons and funny hats because we’re there, baby. Yes, sire, Rails 1.2 is finally available in all it’s glory. It took a little longer than we initially anticipated to get everything lined up (and even then we had a tiny snag that bumped us straight from 1.2.0 to 1.2.1 before this announcement even had time to be written).

So hopefully it’s been worth the wait. Who am I kidding. Of course it’s been worth the wait. We got the RESTful flavor with new encouragement for resource-oriented architectures. We’re taking mime types, HTTP status codes, and multiple representations of the same resource serious. And of course there’s the international pizzazz of multibyte-safe UTF-8 wrangling.

Prototype 1.5: Now with a manual!

Filed under: RubyOnRails

Riding Rails: Prototype 1.5: Now with a manual! Prototype 1.5 shipped together with Rails 1.2 today. But that’s not all that’s been happening at the JavaScript sugar mill. Today also marks the official unveiling of prototypejs.org. A brand new site dedicated to promoting and teaching Prototype. It comes complete with API documentation, a blog, and a guide on how to contribute.

Dynamic Graphics with Rails 1.2

Filed under: RubyOnRails

Dynamic Graphics with Rails 1.2 | Ruby on Rails for Newbies

The upcoming release of Rails 1.2 has some nice features for creating dynamic graphics in your application. Here we have a simple shopping cart icon (purchased and modified from the Iconfactory). I want to show the number of items in the cart. I could manually create a series of graphics with each number, but that seems inelegant. Anytime the icon needed tweaking, I would have to regenerate all the icons.

Rails 1.2 has the ability to send different types of content from the same action. Basically, I just want a graphical representation of the shopping cart. I’ll use the Cart#show action to render a graphic if it is accessed with a “png” extension. Otherwise, it will show the shopping cart items, total price, and checkout button in HTML.

Шпаргалки по Ruby on Rails

Filed under: RubyOnRails

Dmytro Shteflyuk’s Home

Шпаргалки по Ruby on Rails и всему с ним связанному. В сети можно найти несколько шпаргалок по Ruby on Rails и связанным технологиям. Я решил собрать их все (или почти все) в одной заметке, чтобы не растерять. Все они доступны в виде полноцветных PDF или PNG файлов.






















Get free blog up and running in minutes with Blogsome
Theme designed by Minz Meyer