Steve Conover's blog



Steve ConoverSteve Conover
Standup 1/7-8: Bundler, MySql vs Sqlite on disk vs Sqlite in-memory
edit Posted by Steve Conover on Friday January 08, 2010 at 09:21AM

Bundler 0.8.1 is out. There have been some significant changes around how the vendor directory is organized, so you'll want to rm -rf vendor/gems and re-run bundle.

A team tried swapping in Sqlite to see if it made any difference in test suite runtime. It was actually slightly slower than MySql. In-memory Sqlite didn't help either.

Steve ConoverSteve Conover
Standup 1/5: capistrano and bundler
edit Posted by Steve Conover on Wednesday January 06, 2010 at 07:47AM

A gotcha when using cap and bundler:

"If deploy.rb does a require 'auto_tagger' and the auto_tagger gem is in the app's bundle but not the system, running the system cap won't find the auto_tagger gem. Using bin/cap runs the bundled cap and thus has access to all the gems in the bundle."

Steve ConoverSteve Conover
Standup 1/4: XSS Galore
edit Posted by Steve Conover on Tuesday January 05, 2010 at 07:30AM
  • XSS #1: There's a huge cross-site scripting hole if you use the meta refresh tag...it has a "data" attribute into which you can insert arbitrary javascript.

  • XSS #2: Cross-site scripting resources, from an internal mailing list:

  • Happy New Year