24 Mar '12, 10pm

Railscasts - Syntax Highlighting:

.CodeRay { background-color: #232323; border: 1px solid black; font-family: 'Courier New', 'Terminal', monospace; color: #E6E0DB; padding: 3px 5px; overflow: auto; font-size: 12px; margin: 12px 0; } .CodeRay pre { margin: 0px; padding: 0px; } .CodeRay .an { color:#E7BE69 } /* html attribute */ .CodeRay .c { color:#BC9358; font-style: italic; } /* comment */ .CodeRay .ch { color:#509E4F } /* escaped character */ .CodeRay .cl { color:#FFF } /* class */ .CodeRay .co { color:#FFF } /* constant */ .CodeRay .fl { color:#A4C260 } /* float */ .CodeRay .fu { color:#FFC56D } /* function */ .CodeRay .gv { color:#D0CFFE } /* global variable */ .CodeRay .i { color:#A4C260 } /* integer */ .CodeRay .il { background:#151515 } /* inline code */ .CodeRay .iv { color:#D0CFFE } /* instance variable */ .CodeRay .pp { color:#E7BE69 } /* doctype */ .CodeRay .r { color:#CB7832 } /* keyword */ .Co...

Full article: http://railscasts.com/episodes/207-syntax-highlighting

Tweets

@d11wtq Sequel supports a similar syntax:

sequel.rubyforge.org 25 Mar '12, 5pm

There are two related differences here. First is the usage of "o.c" vs "c", and second is the difference between the the u...

#320 Jbuilder - RailsCasts:

railscasts.com 23 Mar '12, 7pm

Jbuilder es un motor de plantillas que sirve para generar respuestas en JSON. Fue recientemente creada por David Heinemeie...