- 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
Nicolás di Tada Founder
Matías García Isaía Full-stack Engineer & Site Reliability Engineer
Martin Pettinati Marketing & Communications Lead
Beta Ziliani Team Lead & Product Manager
Leandro Radusky Bioinformatics Lead
Martín Verzilli Chief Technology Officer
Sergio Medina Alumni
Pablo Brusco Alumni
María Inti David Alumni
Ary Borenszweig Alumni
Santiago Palladino Alumni
Valeria Tiffenberg Alumni
Paula Mallol Alumni
Juan Wajnerman Alumni
Brian J. Cardiff Alumni
Leandro Matayoshi Alumni