>> class Media < ActiveRecord::Base
>> self.keep_translations_in_model = true
>>   translates :name, :base_as_default => true
>> end
>> 
>> and I use it for several models. Is there a globalize function that
>> returns all the translated fields of a given model?
>> Also, is there a function that returns the array of all the defined
>> language in environment.rb?
>> 
> 
> 
> I don't know - ask somebody else.

Test

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to