Sha256: b9a62dfa48620199029e58069e6cfae81637232f24bde825ac11190fea150bc7

Contents?: true

Size: 217 Bytes

Versions: 10

Compression:

Stored size: 217 Bytes

Contents

class DbSchema < ApplicationRecord
  belongs_to :rails_app

  # def user_name
  #   rails_app.user.name
  # end

  def display_name
    "DB Schema 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/db_schema.rb
rails_app_generator-0.3.5 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.3.4 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.3.3 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.3.2 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.3.1 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.3.0 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.2.43 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.2.42 after_templates/application/klueless/app/models/db_schema.rb
rails_app_generator-0.2.41 after_templates/application/klueless/app/models/db_schema.rb