class Essay::AttributeFeatures
Public Instance Methods
translates?()
click to toggle source
# File lib/essay-globalize/attribute.rb, line 5 def translates? translates_with_globalize? end
translates_with_globalize?()
click to toggle source
# File lib/essay-globalize/attribute.rb, line 9 def translates_with_globalize? !!model_features.with(:globalize) { |g| g.translated_attribute_names.include?(attribute_name) } end