Programming Phoenix Liveview: v1.1 feedback

happy to get the email this morning about the 1.1 version of the book! Just last night I spent an unnecessary amount of time figuring out how to add the scope to run the seed file. Perfect timing. I started Ch 3 over today with v1.1 and noticed a couple things:

  1. the filenames are prepended with “generators” as in “generators/pento/…”. My directory structure (Mac) does not have this directory
  2. the function at the end of the seeds file should use 'product_attrs’ instead of ‘product’:
    IO.puts(“Created product: #{product_attrs.name}”)