Sha256: b4e9b2f85671d83c91fce6154d15a7f0c33ca23069bb5a8643d195d5489115db
Contents?: true
Size: 851 Bytes
Versions: 28
Compression:
Stored size: 851 Bytes
Contents
# == Schema Information # # Table name: comments # # id :integer not null, primary key # user_id :integer # commentable_id :integer # commentable_type :string(255) # private :boolean # title :string(255) default("") # comment :text # created_at :datetime # updated_at :datetime # state :string(16) default("Expanded"), not null # <% require "ffaker" puts "Loading comments..." commentable = %w(Account Campaign Contact Lead Opportunity) # Task for i in (1 .. rand(250) + 500) do %> comment_<%= i %>: id : <%= i %> user_id : <%= rand(8) + 1 %> commentable_id : <%= rand(100) + 1 %> commentable_type : <%= commentable.sample %> comment : <%= FFaker::Lorem::paragraph(rand(10) + 1) %> <% end %>
Version data entries
28 entries across 28 versions & 2 rubygems