We love open source and we invest in continuous learning. We give back our knowledge to the community.

ActiveModel::Serializers Rewrite (Upcoming 0.9.0.pre Version)

Comments

First of all, I want to apologize to all for the long time it has taken me to push this humble new code.

I started to work on ActiveModel::Serializers because I’m interested in the Rails API project in general and ActiveModel::Serializers in particular. Given that ActiveModel::Serializers has few contributors, I thought it could be a good opportunity to understand the code and help the community around the project.

Rails 4 Links Compilation

Comments

I’m leaving here a curated compilation of interesting links where you will find information that is not very well known. There are pull requests, issues, commits, examples, posts, videos and more about Rails 4.

Rails 4 in 30’

Comments

I gave a presentation in RubyConf Argentina about what’s new in Rails 4 (if you saw it please rate it). I’ve already posted the Rails 4 MindNode which I used to start to think about what I was going to present. The talk was in Spanish but I’m leaving here the English version of the slides.

Rails 4 in a MindNode

Comments

I’ll be talking at RubyConf Argentina, and the first thing I usually do when preparing talks is to think in a high level and then start going down form there. I find MindNode a great tool for that. So I started checking what was being added, removed and deprecated in Rails 4 (my memory isn’t good enough to have all that in the top of my head :P). The result is this MindNode I’m sharing with you …

Ruby Refinements Landed in Trunk

Comments

Refinements arrived to Ruby trunk here The purpose of Refinements is to make monkey patching safer, extending core classes but limiting its effects to a particular area of code.

Rails for API Applications (Rails-api) Released

Comments

rails-api is a plugin developed by Yehuda Katz, José Valim, Carlos Antonio da Silva and me (Santiago Pastorino) which modifies Rails applications trimming down usually unneeded Rails functionalities for API applications. Do you remember we added support for this on core and it was reverted?. This plugin enables that again.

Bundle Exec Rails … Executes Bundler.setup 3 Times

Comments

TL;DR: don’t run bundle exec before rails command, rails already checks the presence of Bundler through the Gemfile and sets up everything according to it without the overhead of bundle exec. rails command is the only exception to the rule. Additionally I’ve added a patch to Bundler that avoids calling Bundler.setup which adds unnecessary overhead.

Ruby 1.9.3 and Ruby-debug

Comments

As you probably know Ruby (MRI so brixen doesn’t get mad at me :P) 1.9.3 was released I’ve been using 1.9.3 for a while now and as part of my RubyConf Uruguay talk I wanted to show ruby-debug. So my first attempt was: