Class: InlineForms::TranslationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/inline_forms/translation_record.rb

Overview

Read-only adapter for the translations SQL view created by the installer (inline_forms_create_view_for_translations). The view exposes thekey (not key) so it works on MySQL where key is reserved.

Instance Method Summary collapse

Instance Method Details

#readonly?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/inline_forms/translation_record.rb', line 10

def readonly?
  true
end