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:
This comment has been removed by a blog administrator.
12:05 AM
Post a Comment
<< Home