# Everything else
wiki.connect '*url', :action => 'view_by_url'
end
Before I added the 'requirements' the following were caught correctly
/System
/System/CamelWord
After I added the 'requirements' everything ended up as 'view_by_url'
I've simplified the patterns all the way down, but I think they are
right. I've tested at http://regexlib.com/
I've tried more "complicated" patterns: start of word/string markers,
explicit quantifiers, groupings, greedy and ungreedy. No avail.
I always end up with the 'view_by_url' catch-all.
I'm don't see how ":format" is relevant. Could you expand on tat please.
ptontiger said the following on 11/12/07 07:34 PM:
I take it that the "nil' makes the field optional and if there is no
'nil' then its mandatory. Is there a way to supply a default?
If so, does it have to be a fixed string or can I pull it out of a
configuration table in the database?
ptontiger said the following on 11/12/07 07:34 PM: