Sha256: 9ac7dd8438f82836b367afa712c08c4fe9c8177bd8fb15493f64bc7bd26806c3

Contents?: true

Size: 222 Bytes

Versions: 10

Compression:

Stored size: 222 Bytes

Contents

class TableCount < ApplicationRecord
  belongs_to :rails_app

  # def user_name
  #   rails_app.user.name
  # end

  def display_name
    "Table Counts for #{rails_app.name} - #{created_at.strftime("%d/%m/%Y")}"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.3.5 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.3.4 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.3.3 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.3.2 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.3.1 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.3.0 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.2.43 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.2.42 after_templates/application/klueless/app/models/table_count.rb
rails_app_generator-0.2.41 after_templates/application/klueless/app/models/table_count.rb