I’m currently developing a web-application that is multilingual. I’m
using ruby+gettext for the multilingual facility. Now I’d like to
create a category view that acts_as_tree, but with multilingual :name-
My ideal solution would be to not bind that category-model to the
database, because the categories are just 50 or so, which won’t be
updated dynamically. So I’d like to act that model as a tree, but fill
in the data at class-instantiation time.
Class Category < ActiveRecord::Base
Can anybody help? Is this possible at all? My guess is “no”, but I’ll
wait for your replies, guys.