Foo and Bar are the conceptual equivalent of using lorem ipsum when designing web pages. They're obviously not real things and so don't distract the user's attention away from the bigger picture.
I do agree with some people here who've pointed out that as soon as variables hold something meaningful (eg inside a method) then you should give them neaningful names, but that's not quite the same thing. What i did find a little confusing with learning rails was the canonical example of a blog that has_many posts, that has_many comments. Once rest came along, i was learning that as well as ajax, i really wished one of the example models wasn't called 'post'. I was seeing stuff like link_to "Post", post_path(post), :method => :post which is a bit confusing. (this precise example may not make sense but you get the general idea) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

