Blah Blah Woof Woof

Archived content 2005-2007

Don't trip up on the first log

Posted by Tim Riley Mon, 09 Oct 2006 13:59:00 GMT

Quick note for anyone moving from Rails to write a little Camping app: It pays to read the instructions! Particularly this part:

NOTE: Camping auto-prefixes table names. If your class is named Blog::Models::Post, your table will be called blog_posts. Since many Camping apps can be attached to a database at once, this helps prevent name clash.

What I would give to get that extra hour and a half back… sigh

Comments

  1. Ric said about 16 hours later:
    There are always traps for the unwary, inexperienced or hasty ... don't think of it as wasted time, think of it as an education.

Trackbacks

Use the following link to trackback from your own site:
http://vault.openmonkey.com/articles/trackback/68

(leave url/email »)