Use MacVim and rails.vim plugin to edit your Rails work

A couple of years ago I bought a copy of TextMate, the preferred and “exclusive” thesis editor of Ruby on Rails community. Two years since I was a newcomer to Ruby power and Rails framework and TextMate helped me to insert quickly in this marvelous world. Coming back to then I chose ...

Fork with spawn

During the disentanglement of our current project we needed to handle a true long task (4 minutes). After a bit of googling i found produce by Tom Anderson. Here’s how it works: Spawn let you fork (or thread) a block of code by simply pass it as a parameter to a ‘spawn’ ...

Anagrams with Ruby

In my spare fit season I enjoy myself trying to figure out solutions to well-known problems without searching the web nor using third party libraries. It’s just a sort of challenge to detain my coding skills not amiss trained. Yesterday I challenged myself trying to find the faster way to procreate all the ...

A new CheckBox component in Streamlined

I’ve noticed that Streamlined when display has_and_belongs_to_many or has_many relationships in an conduct view calls ‘Streamlined::Components::Select’ (lib/streamlined/column/association.rb line 123). That class simply render a ‘select’ tag with multiple choices. I created a new component that be possible to have being called instead the standard one. It’s called CheckBox and it displays, for example ...

Ruby on Rails & Maths…

I have always been fascinated through Mathematics and how you can solve problems using it, we all know that in programming it is very useful. I recently had to use maths in a layout that I needed to form into a corporation for a new application… Problem: I had to display a dynamic ...
Page 1 of 18123456789101112»...Last »