match "/n:sxg:nth_of_day" => "notes#show",
:constraints => { :sxg => /\w{3}/, :nth_of_day => /\w{2}/ }
is what I tried.
match "/n:sxg:nth_of_day" => "notes#show",
:constraints => { :sxg => /\w{3}/, :nth_of_day => /\w{2}/ }
is what I tried.
How do I write this Rails route?
/n4x51 => notes#show
n = notes
4x5 = 3 char base60 epoch day
1 = 1-2 char base60 nth note of the day ?
Ouch. Sneezing hurts.
Christian Child Acts Like An Ass http://j.mp/afQMYY #atheism /via @n8duke @godispretend
A Venn diagram on index cards blog : http://thisisindexed.com
Makes me happy.