Class: HasManyTranslations::Translation
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- HasManyTranslations::Translation
- Defined in:
- lib/has_many_translations/translation.rb
Overview
The ActiveRecord model representing translations.
Instance Method Summary collapse
Instance Method Details
#initial? ⇒ Boolean
6 7 8 |
# File 'lib/has_many_translations/translation.rb', line 6 def initial? number == 1 end |