Forum: Ruby on Rails how to make a soundex method in

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tim D. (Guest)
on 2009-01-22 06:46
I am working with a table in my database where I am looking through
every record to see if it matches with every other record in that same
table to see if its a soundex match or not

I want to define a method where I can call it as a true or false
statement like:

onerecord.soundex(otherrecord) = true or false and be able to run the
code below based on if its true or false
Ryan B. (Guest)
on 2009-01-22 10:11
(Received via mailing list)
Ryan B. (Guest)
on 2009-01-22 10:12
(Received via mailing list)
Also... http://en.wikipedia.org/wiki/Soundex is helpful.
-----
Ryan B.
Freelancer
http://frozenplague.net
This topic is locked and can not be replied to.