Ruby on Rails Saturday, September 4, 2010

On Friday 03 September 2010, Marnen Laibow-Koser wrote:
> Marnen Laibow-Koser wrote:

> Well, you learn something new every day! I found the Ambiguous
> Groups article on the Web and found that the behavior I thought was
> standard -- returning the first value in the case of multiple values
> -- is actually a MySQL quirk (ironic when you consider that I
> haven't used MySQL in years). Back to the drawing board.

I did tell you that you ought to understand a problem before jumping to
solutions, didn't I? I have to admit I was piqued by your reaction to my
original question: it was bold -- and ignorant. You don't have to answer
every question in this mailing list single-handedly.

Anyway, I'm still looking for a way to express the existing, working SQL
solutions (sub-select for the latest version corresponding to an
article) in elegant ActiveRecord code.

Michael

--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment