::ActiveRecord::Base
# File lib/i18n/backend/active_record/translation.rb, line 74 74: def self.available_locales 75: Translation.find(:all, :select => 'DISTINCT locale').map { |t| t.locale.to_sym } 76: end
# File lib/i18n/backend/active_record/translation.rb, line 78 78: def interpolates?(key) 79: self.interpolations.include?(key) if self.interpolations 80: end
# File lib/i18n/backend/active_record/translation.rb, line 82 82: def value 83: if is_proc 84: Kernel.eval(read_attribute(:value)) 85: else 86: value = read_attribute(:value) 87: value == 'f' ? false : value 88: end 89: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.