The rails team and many other rubyists prefer to use curly braces for one line blocks and do...end for multi-line ones.
The only functional difference between the two is that the precedence of a do...end block is lower than that of a {...} block.