Articles

27. AWDR Depot App - Chapter 8 - Cart Creation

In this screencast I will walk you through the chapter 8 - Cart Creation of the AWDwR book. At the end of the screen cast the products controller ends up with add_to_cart and empty_cart action in the products controller. It does not use RESTful routes. After some thought I realized that you cannot force CRUD operation for the use cases in this chapter.

How to form a team, part 1

Since I started attending seminars with the great Italian coach Patrizio Paoletti, I have been trying to discover the keys that stand behind success stories. Whether it's a small change of habit, the way of a poor man to richness or helping mankind.

Last week I came across such an idea which I sense has more to, than what I understand and will present here.

26. SEO for Rails app using Acts as Taggable on Steroids and Meta Tags Plugins

In this screencast I will show you a creative way to use Acts as Taggable on Steroids with Meta Tags plugins to implement search engine optimization for your Rails apps.

25. RSS Feed in Rails 2.0 and Feedburner

Learn how to create an RSS feed for your websites and hook it up with feedburner.com.

24. Nested Resources in Rails 2.0

This screencast will walk you through the basics of nested resources in Rails 2.0. You will learn the theory and be able to apply it when you need nested resources in your web applications.

Standards VS. Performance

Today I had to create an XML with ~ 7000 records.

The first role looked like this:


Controller
def all_articles
@articles = Article.find_all
render :layout => false
end

View - articles.rxml
xml.instruct! :xml, :version => '1.0'
xml.root do
xml.articles do
@articles.each do |article|
xml.article do
xml.id article.id
xml.title article.title
end
end
end
end

Not Running

It's been a week since the last time I ran.

Last friday, December 28 2007, I woke up at 6:00am and went for a casual morning run with Arik, a dear friend from work. I already felt a bit dizzy and it was very cold but we ran anyway, a bit slow and with a Fleece I ran for 41 minutes at 156 average heart rate.

When I got back home I cleaned the house and by 1:15pm I fall to bed and slept until 4:30pm.

Saturday already felt worst and Sunday I was already sick.

It's been a week since the last time I ran.

23. Rich HTML Editor for Rails App

I tried FckEditor and TextileEditorHelper and found that they were not easy to integrate with Rails. In this screencast I will show you how easy it is to integrate a rich html editor using TinyMce editor.

 You will also get an introduction to how to use Piston to manage plugins.

IronRuby, Ruby.NET, and the Differences

Following on the heels of Pat Eyler's interview of M. David Peterson, Mr. Peterson has posted an article entitled Ruby.NET vs. IronRuby: What's The Difference?.

Microsoft's John Lam has posted a follow-up on his blog.

22. AWDR Depot App - Chapter 7 - Displaying the Catalog

This screencast will walk you through the pimped up version of the depot app using Rails 2.0 features. You will learn about:

hack 015: Building Shoes for Windows: rebuilt the deps files with Ruby 1.9.1p376 and add some extensions | Rails Fire