I am trying to run a simple find, and don’t know how to do it. I’m
essentially creating a glossary, and I want to be able to find all the
words that begin with each letter.
Seems like I ought to be able to do something like this:
Word.find(:all, :conditions => [‘spelling=?’, ‘a*’])
But that doesn’t work… How do a find all the records where the
spelling begins with ‘a’?