
In this post I’ll show how I’ve dried up the admin controllers of a project at Todobebe using inherited_resources, a gem that makes your controllers inherit all restful actions.
Basically I’ve coded two classes to be inherited by the controllers.
Continue reading ‘Admin controllers with Inherited Resources’
Filed under: Ruby | Leave a Comment
Tags: controllers, gems, inherited_resources, rails, tricks, will_paginate
Paperclip Recipes

One of the main features in the Todobebe web sites is photo uploads. We have already improved the process a few times(refactoring FTW) and in this post I selected some recipes based in our experience:
- asynchronous upload to s3
- delaying the thumbnail generation
- anonymous photos
- saving photo dimensions
If you are using paperclip, some of the following recipes may be useful for you.
Continue reading ‘Paperclip Recipes’
Filed under: Ruby | 17 Comments
Tags: delayed_job, gems, paperclip, plugins, rails, Ruby, s3

Last week my friend Davis Cabral asked me about some nice apps to install in his new iPhone. I have an iPod Touch and seldom if ever use it to listen to music. In fact, my wife and I called it “the house computer”. Davis asked the right person, and below there are my thoughts about some of my favorite apps.
Continue reading ‘Some of My Favorite iPhone OS apps, Part I’
Filed under: iPhone OS | 2 Comments
Tags: apps, books, comic books, games, iphone, ipod touch, reading, rpg, soccer, sport
A editora NOVATEC cedeu ao RubyOnda.com uma cópia do livro “RubyOnRails: Desenvolvimento Fácil e Rápido de Aplicações Web” escrito por Rodrigo Urubatan para sorteio entre nossos colaboradores. Mais informações no post anterior.
E o premiado foi: Pedro Delfino dos Santos Neto (twitter, blog). Parabéns ao ganhador e bons estudos!
Para quem estiver interessado no livro, até o final de maio poderá usar o código RUBYONDA para comprar o livro com 20% de desconto no site da NOVATEC.
Filed under: Uncategorized | 2 Comments
Tags: books, portuguese, rails

Livro RubyOnRails - Urubatan
A editora NOVATEC está promovendo o livro recém lançado “RubyOnRails: Desenvolvimento Fácil e Rápido de Aplicações Web” escrito por Rodrigo Urubatan. Ler a resenha escrita por ele é de empolgar qualquer um, ainda mais pelo livro servir tanto como base para novatos, quanto como referência pelos veteranos.
E agora a melhor parte, a editora cedeu ao RubyOnda uma cópia do livro para sortearmos entre nossos colaboradores. Para concorrer basta enviar pelo menos um post para o RubyOnda até 25/04/2009.
E quem não ganhar não precisa ficar triste, até o final de maio poderá usar o código RUBYONDA para comprar o livro com 20% de desconto no site da NOVATEC.
Filed under: Ruby | 2 Comments
Tags: books, portuguese, rails, Ruby
Back to blog
It has been 2 years since I last posted on my old blog. I am back to share my experiences, knowledge and occasionally personal stuff.
I am currently developing Rails applications for Todobebe. Whenever possible I spend time studying Perl, Cocoa amongst other things. Expect to see items related to those subjects here.
Some posts will be in portuguese, normally when I write about local events.
Feel free to subscribe to the feed.
Filed under: Personal | Leave a Comment
Tags: english, Personal