Sha256: f93928d63ed95cfed0cce54993ceb7bca4da9e3dbad7d6559335c503a10c3621
Contents?: true
Size: 729 Bytes
Versions: 4
Compression:
Stored size: 729 Bytes
Contents
# This file should contain all the record creation needed to seed the database with its default values. # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) # unless Rails.env == "test" author = HyperKittenMeow::User.create!( name: 'Admin', email: 'admin@admin.admin', password: 'adminadmin', password_confirmation: 'adminadmin' ) post_content = <<-POST Hello This is a post. POST HyperKittenMeow::Post.create!(title: 'Test Title', user: author, body: post_content, summary: post_content, published: true) end
Version data entries
4 entries across 4 versions & 1 rubygems