- May 20 2012
Organizing coffeescript code in a Rails 3 app
8 min
Ever since Rails 3.1 adopted coffeescript within the asset pipeline as a default, coffescript has become an increasingly popular language for easily writing your javascript code. Despite a lot of tutorials out there on how to write coffee and take...
- Jan 31 2012
How to check if object can be destroyed if it has dependent: restrict associations
3 min
Rails provides several handy options for specifying how to deal with associated models upon deletion, for example: class Blog has_many :posts, :dependent => :destroy end The destroy value for the dependent option will call the destroy method for...
- Dec 2 2011
Default request parameters in Rails functional tests
2 min
I was looking for an easy way to force every request in a functional test in Rails to use a set of parameters by default, regardless of being specified explicitly. This is, every time I write: it "should get index" do get :index end Rails should...
- Jun 15 2011
Reuse code, not user experience
4 min
Let's face it: as a developer, I'm lazy. I just want to write just enough code. What is more, I want to reuse it whenever possible. I want it to be abstract. If I'm asked to implement a view which needs a sortable grid, one of those whose rows you...
- Apr 20 2011
Careful when truncating strings
2 min
One of our Rails applications has to consume an RSS. Nothing fancy here, we simply wanted to extract some fields from each item and store them in the PostgreSQL DB (app was hosted on heroku). Simply slicing the string seemed to work at first: summary...
Contributors
![](/images/staff/ndt.jpg)
Nicolás di Tada Founder
![](/images/staff/mgarcia.jpg)
Matías García Isaía Full-stack Engineer & Site Reliability Engineer
![](/images/staff/mpettinati.jpg)
Martin Pettinati Marketing & Communications Lead
![](/images/staff/bziliani.jpg)
Beta Ziliani Team Lead & Product Manager
![](/images/staff/lradusky.jpg)
Leandro Radusky Bioinformatics Lead
![](/images/staff/mverzilli.jpg)
Martín Verzilli Chief Technology Officer
![](/images/staff/smedina.jpg)
Sergio Medina Alumni
![](/images/staff/pbrusco.jpg)
Pablo Brusco Alumni
![](/images/staff/mdavid.jpg)
María Inti David Alumni
![](/images/staff/ary.jpg)
Ary Borenszweig Alumni
![](/images/staff/spalladino.jpg)
Santiago Palladino Alumni
![](/images/staff/vtiffenberg.jpg)
Valeria Tiffenberg Alumni
![](/images/staff/pmallol.jpg)
Paula Mallol Alumni
![](/images/staff/waj.jpg)
Juan Wajnerman Alumni
![](/images/staff/bcardiff.jpg)
Brian J. Cardiff Alumni
![](/images/staff/lmatayoshi.jpg)
Leandro Matayoshi Alumni