Sha256: 7b306eef2f3a18b818dbb36480210cf99a9767817d1b9b4f13ebef217a5cd32d

Contents?: true

Size: 141 Bytes

Versions: 4

Compression:

Stored size: 141 Bytes

Contents

class <%= name.camelcase %> < ActiveRecord::Base

  attr_accessor <%= attributes.map { |attribute| ":#{attribute.name}" }.join(', ') %>

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
has_translations-1.1.2 lib/generators/templates/model.rb.erb
has_translations-1.1.1 lib/generators/templates/model.rb.erb
has_translations-1.1.0 lib/generators/templates/model.rb.erb
has_translations-1.0.0 lib/generators/templates/model.rb.erb