| Web Development >> Ruby On Rails |
Shortcut Blocks with Symbol to_proc
| Language : | English | Quality : | High | Has Audio : | true | Source : | Other | Media : | QuickTime |
| It may have a goofy syntax, but the Symbol#to_proc feature Rails adds allows you to do simple blocks very quickly and easily |
Tags: Ruby On Rails, Ruby, Web Development, [SUGGEST A TAG]
Resources referenced in this screencast
|
Articles Realted to this Topic |
[SUGGEST A ARTICLE] |
|
New magical version of Symbol.to_proc Before the magic, let’s go through a Beginner’s Guide to Mapping, then Advanced Guide to Symbol.to_proc, and THEN, the magical version. Its worth it. Its sexy, nifty AND magical all at once |
|
19 Rails Tricks Most Rails Coders Don't Know When looking at my own Rails code and that of the community as a whole, I often see places where certain Rails techniques could have been used, but weren't. As much for my own memory as yours, I thought I'd list down some Rails tricks and tips that can make your application or code more efficient |