skwpspace it’s pronounced ’scoop’. yan pritzker’s home on the web

Blog :: Photography :: About Me

hello, i'm yan

I blog here occasionally. I hope you like it.

Subscribe by Email

planypus

I'm the founder of Planypus, the place to share your plans!

cohesiveft

Accessible, manageable, virtualized application stacks ready to download or deploy to the cloud!

flickr

starlightthe playersredmoon theater - boneyard prayerredmoon theater - boneyard prayer-5redmoon theater - boneyard prayermetal goddessmetal monstersprofessor

Archives

Contact

Reach me at yan at pritzker.ws

Posts Tagged rails

Rails tagging plugins overview and comparison

span.pro, li.pro {
color: green;
}
span.con, li.con {
color: red;
}
span.maybe, li.maybe {
color: orange;
}
table.separated td {
border-bottom: 1px solid #eee;
vertical-align:top;
line-height:1.2em;
}
[...]


Twitter opens the floodgates of FUD

TechCrunch is reporting on rumors that twitter is leaving Ruby on Rails. Of course the comment threads are covered by a heated debate by people either bashing RoR, suggesting their favorite language and platform as the ‘only possible solution’, or both. Nevermind that Friends For Sale, with 630k active daily users scales just fine on [...]


Rails moves to Lighthouse

In a series of dev infrastructure changes, the Rails team is moving to Lighthouse as its bugtracking system. I wrote about Lighthouse more than a year ago as an application to watch in the bugtracking space, and now they’re coming into the limelight with official support from the Rails team.
I’m really happy to see [...]


Rails moves to GitHub; Git is the new black

Rails has officially moved to GitHub. The GitHub guys have done an awesome job capitalizing on the growing trend of git usage, especially in the Rails community, and of course getting ‘official blessing’ from the Rails core team themselves means that many more projects are sure to follow.
I’ve been using git-svn to work on a [...]


fix for TextMate Ruby tests broken with stack level too deep

If you experience problems running single unit tests in TextMate with Rails 2, it may be due to a bug. The problem has something to due with conflicting builder.rb instances in Rails and TextMate. The simplest and least intrusive fix is to add this to the top of your test_helper.rb

$LOAD_PATH.reject! { |e| e.include? ‘TextMate’ }


Posted
13 March 2008 @ 7pm

Tagged
rails, ruby

webcrawler bot detection

def self.bot_agent_list
[ "panscient", "larbin", "dummy", "Teoma", "alexa",
"froogle", "inktomi", "looksmart", "URL_Spider_SQL",
"Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK",
"InfoSeek", "WebFindBot", "crawler", "girafobot", "Scooter",
"Baidu", "bot", "Google", "SiteUptime", "Slurp",
[...]


acts_as_versioned for a set of columns

acts_as_versioned is a great plugin for versioning a set of model attributes transparently every time you save. The plugin seems to be built with exclusion in mind (version all except these) but to get it to work only on a specific set of columns, this simple trick can be applied:
class Foo [:description_t]
def [...]


Elastic Server On Demand relaunched

“We at CFT are proud to announce the latest refresh of our Elastic Server On-Demand service.
Elastic Servers(tm) are application stacks which can be dynamically constructed from component libraries and delivered in many virtualization-ready formats (VMware, Xen, Parallels). We call them “elastic” because it is just the amount of components you want for a task, [...]


Clean svn tag support for Capistrano 2

If you find capistrano’s release directory naming conventions hard to use, a great alternative is to base releases on your svn tags. It turns out that implementing this in cap2 is quite simple. Unfortunately I can’t quite figure out how to turn this into a library so at this point it exists as a cut-n-paste [...]


Noobkit: a better way to get your Rails API docs

Recently launched Noobkit is a great new way to get at your Rails API docs. The visual design is pleasing and it’s got an OpenID login system and ability to make bookmarks. It covers the Rails API and many common gems. The look is much more pleasing than the similar gotapi.com which covers more programming [...]


← Before