This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1KwxcMjHg72rVgCeUJNDSX47FFv64jrBnB https://explorer.blockstack.org/address/1KwxcMjHg72rVgCeUJNDSX47FFv64jrBnB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Create a bunch of seed data for artists and songs" | |
task :seed_artists_and_songs => [:environment, :clear_artists_and_songs] do | |
# Build Song Off Artist | |
# Given a Song called R.E.S.P.E.C.T | |
# build the Aretha Franklin Artist | |
s = Song.create(:name => "R.E.S.P.E.C.T") | |
s.build_artist(:name => "Aretha Franklin") | |
s.save |