Sponsor of the Day:
Jerkmate
https://thepugautomatic.com/tag/windows/
Windows - The Pug Automatic
pug automaticwindows
https://thepugautomatic.com/tag/merb/
Merb - The Pug Automatic
pug automaticmerb
https://thepugautomatic.com/2007/11/my-rails-title-helpers/
My Rails title helpers – The Pug Automatic
pug automaticrailstitlehelpers
https://thepugautomatic.com/2017/04/add-documentation-where-you-looked-for-it/
Add documentation where you looked for it – The Pug Automatic
It may seem obvious, but I've noticed not everyone does this: Add documentation where you looked for it. You're trying to find out how to set up another Foo...
add documentationpug automaticlooked
https://thepugautomatic.com/2008/02/lambda/
Lambda – The Pug Automatic
Teehee: module Kernel alias_method
pug automaticlambda
https://thepugautomatic.com/tag/firefox/
Firefox - The Pug Automatic
pug automaticfirefox
https://thepugautomatic.com/2007/11/comma-after-link-in-haml/
Comma concatenation for punctuation after link in Haml – The Pug Automatic
This post is just to suggest that in Haml (which I can't decide if I like or not), rather than something like %p You are logged in. = succeed
pug automaticcommaconcatenationpunctuationhaml
https://thepugautomatic.com/tag/javascript/
JavaScript - The Pug Automatic
pug automaticjavascript
https://thepugautomatic.com/2007/03/key-binding-for-vertical-ellipsis/
Key binding for vertical ellipsis – The Pug Automatic
I think the vertical ellipsis glyph (⋮) is underused, so I bound it to ⌥, for easy insertion. This binding is analogous to ⌥. producing the horizontal ellipsis...
key bindingpug automaticverticalellipsis
https://thepugautomatic.com/tag/colloquy/
Colloquy - The Pug Automatic
pug automaticcolloquy
https://thepugautomatic.com/tag/design/
Design - The Pug Automatic
pug automaticdesign
https://thepugautomatic.com/tag/factories/
Factories - The Pug Automatic
pug automaticfactories
https://thepugautomatic.com/tag/mediawiki/
MediaWiki - The Pug Automatic
pug automaticmediawiki
https://thepugautomatic.com/tag/shopify/
Shopify - The Pug Automatic
pug automaticshopify
https://thepugautomatic.com/2007/09/object-in-collection/
object.in?(collection) – The Pug Automatic
I often find collection.include?(object) to read backwards. Consider puts
pug automaticobjectcollection
https://thepugautomatic.com/tag/greasemonkey/
Greasemonkey - The Pug Automatic
pug automaticgreasemonkey
https://thepugautomatic.com/2006/11/prototype-ajax-class-to-evaluate-response-text/
Prototype Ajax class to evaluate response text – The Pug Automatic
Using Prototype (documentation) for some Ajax work, I found myself repeatedly doing something like new Ajax.Request(some_url, {method:'post', parameters:...
pug automaticprototypeajaxclassevaluate
https://thepugautomatic.com/tag/bookmarklets/
Bookmarklets - The Pug Automatic
pug automaticbookmarklets
https://thepugautomatic.com/2006/09/wikipedia-on-braille/
Wikipedia on Braille – The Pug Automatic
Everything about Braille is interesting! Excerpt from Wikipedia: In English, the system of Grade 2 Braille contractions begins with a set of 23 words which are...
pug automaticwikipediabraille
https://thepugautomatic.com/2007/12/full-error-messages-without-prepended-attribute-name/
Full error messages without prepended attribute name – The Pug Automatic
In your Rails validations, you can add errors to base or to a specific attribute. When you add errors to an attribute, the full error messages (used e.g. by...
error messagespug automaticfullwithoutattribute
https://thepugautomatic.com/tag/adium/
Adium - The Pug Automatic
pug automaticadium
https://thepugautomatic.com/tag/macbook-air/
MacBook Air - The Pug Automatic
macbook airpug automatic
https://thepugautomatic.com/tag/ruby/
Ruby - The Pug Automatic
pug automaticruby
https://thepugautomatic.com/tag/phoenix-liveview/
Phoenix LiveView - The Pug Automatic
phoenix liveviewpug automatic
https://thepugautomatic.com/2006/12/scroll-window-when-dragging-scriptaculous-sortables-to-edges/
Scroll window when dragging Scriptaculous Sortables to edges – The Pug Automatic
I'm using Scriptaculous Sortables for the admin pages of an artist's portfolio: you can drag-and-drop sections, categories and images to change their displayed...
pug automaticscrollwindowdraggingscriptaculous
https://thepugautomatic.com/tag/os-x/
OS X - The Pug Automatic
os xpug automatic
https://thepugautomatic.com/2008/03/flickr-style-tag-splitting-in-ruby/
Flickr-style tag splitting in Ruby – The Pug Automatic
Someone asked on IRC for Ruby code to split tags Flickr style, e.g. getting the tags from tag1 tag2 "tag 3 has spaces" tag4. I came up with this: def...
pug automaticflickrstyletagsplitting