hi,

i have a model like this capturing integer values.

testrun_id
valve_a
valve_b
valve_c
valve_....n

what i would like to know is how to write an ar-query to find similar
records across all valve-values. similar to levenshtein distance, but for
integers. i could imagine also grouping some valves-values into a total and
compare the totals, but not sure.
any ideas?

thx

--
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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 30, '12 at 2:38p
activeMar 30, '12 at 2:38p
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Tom: 1 post

People

Translate

site design / logo © 2022 Grokbase