...

/

Challenge Solution: Associations and Routes

Challenge Solution: Associations and Routes

The solution to the Associations and Routes challenge.

Solution

//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css

Explanation

app/models/

comment.rb

Each comment must be associated with a link, similar to links being associated with users. You will use ...