before_save :make_words_for_search
selectable_attr :font_size do
- entry "0", :xsmall, "25pt"
- entry "1", :small, "30pt"
- entry "2", :middle, "34pt"
- entry "3", :large, "39pt"
- entry "4", :xlarge, "44pt"
+ entry 0, :xsmall, "XSmall", :point => "25pt"
+ entry 1, :small, "Small", :point => "30pt"
+ entry 2, :middle, "Middle", :point => "34pt"
+ entry 3, :large, "Large", :point => "39pt"
+ entry 4, :xlarge, "XLarge", :point => "44pt"
end
RUBY_KANJI_HIRA = %r/([一-龠]+)\(([ぁ-ん]+)\)/