Ruby elegance

Try:

RawTexts = 6

if RawText.find(:all).length != RawTexts do   ['sfi', 'conference_plan', 'workshops_plan', 'city_map', 'organizers', 'partners'].each do |itm|     RawText.create(:name => itm)   end end

There's probably an even more elegant way, but that at least removes a lot of the duplication.