TIY-ATL-ROR-2015-Sep / assignments

0 stars 0 forks source link

HW 11-09 #413

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.

BrianDunlap89 commented 9 years ago

Shallow nesting seems great, but I'm not totally clear on when/where/why the scope shallow_path and shallow_prefix helpers should be set...is it just so developers can customize their urls? Does Rails have a sensible default if these helpers aren't defined?

sunrick commented 9 years ago

@BrianDunlap89 to be honest I don't know a specific use case, but it looks like its just for customization. As for defaults, yes, all you're doing with those two helpers is that you're overwriting existing default behavior. Ask Brit for more detail :)