Skip to content

Instantly share code, notes, and snippets.

View rdub80's full-sized avatar

Roland Dubois rdub80

View GitHub Profile
@rdub80
rdub80 / gist:4d40d40fbde9de023149dca8c9fb1c6b
Last active October 7, 2019 16:23
Verifying my Blockstack ID is secured with the address 1KwxcMjHg72rVgCeUJNDSX47FFv64jrBnB https://explorer.blockstack.org/address/1KwxcMjHg72rVgCeUJNDSX47FFv64jrBnB
Verifying my Blockstack ID is secured with the address 1KwxcMjHg72rVgCeUJNDSX47FFv64jrBnB https://explorer.blockstack.org/address/1KwxcMjHg72rVgCeUJNDSX47FFv64jrBnB
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