Class: Faq

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/faq.rb

Instance Method Summary collapse

Instance Method Details

#cloneObject



5
6
7
8
9
# File 'app/models/faq.rb', line 5

def clone
  cloned = super
  cloned.translations = translations.clone unless translations.empty?
  return cloned
end