Render Partial New Mouse, What?
Day 66 of Flatiron School

Cut it short tonight. Needed to. Learned some more about rendering partials tonight. Main takeaway code example <%= render partial: 'songs/song_details', collection: @genre.songs, as: :song %>
will iterate through @genre.songs
and passes those objects to the partial as song
.
My wife bought be a trackball mouse :-)
Prepped some of my possible presentation on REST for Saturday.
That’s all I got.
Time spent today: 1:34
Time spent total: 248:16
Lessons completed today: 4
Lessons completed total: 478
Share this post
Twitter
Facebook
LinkedIn
Email