Sha256: 0d85fa2957a9a01ce96dcef5d77df8fca6630241ffa2245a7be0422b17491b96

Contents?: true

Size: 196 Bytes

Versions: 4

Compression:

Stored size: 196 Bytes

Contents

module Admin
  def self.table_name_prefix
    'admin_'
  end

  class Note < ActiveRecord::Base
    translates :title
    accepts_nested_attributes_for :translations, allow_destroy: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_admin_globalize_field-1.2.0 spec/dummy/app/models/admin/note.rb
rails_admin_globalize_field-1.1.0 spec/dummy/app/models/admin/note.rb
rails_admin_globalize_field-1.0.0 spec/dummy/app/models/admin/note.rb
rails_admin_globalize_field-0.4.0 spec/dummy/app/models/admin/note.rb