The journal of Paul M. Watson.

Monday, September 12, 2005

Formats and Ruby on Rails

Note to self; Don't name a table Formats (e.g. for storing RSS, Atom, OPML etc.) when creating a Ruby on Rails app. You will utter "doh" quietly when later on you try to, through a join, call feed.format.id. Format is a private method so you can't have anything of yours named format.

Hmm so I need an alternative. ElFormats? Formatics? Formatts?

1 Comments:

Anonymous Anonymous said...

This comment has been removed by a blog administrator.

12:05 AM

 

Post a Comment

Links to this post:

Create a Link

<< Home