TIY-ATL-ROR-2015-Sep / assignments

0 stars 0 forks source link

HW 11-09 #422

Closed kingcons closed 9 years ago

kingcons commented 9 years ago

Description

Read up on URL generation, resourceful routing, and form helpers as described here.

Submission

Post a question you have from the reading in the comments when you close this issue for discussion in homework review tomorrow.

Joeventures commented 9 years ago

While reading the rails routing guide, I was thinking of defining routes that can't be so hard coded, like what we've been learning so far. For example, the URL for a post in blerg should be /post/the-title/ rather than /post/:id. But it looks like that's covered in Chapter 3.

sunrick commented 9 years ago

http://guides.rubyonrails.org/routing.html#overriding-named-route-parameters

sunrick commented 9 years ago

have a look here!