Archive for the ‘Made from New Zealand’ Category

Completely custom routes

In a recent project for the New Zealand business community, we were required to have some really custom routes. An example of such routes would be geographical routes, e.g. /china, or /china/beijing.
We could try something like this:

map.country ‘:country’, :controller => :locations, :action => :show,
:country => Regexp.new(Country.all.map(&:name).join(‘|’))
map.region ‘:country/:region’, :controller => :locations, :action => :show,
[...]

Made from New Zealand is launching soon

The ProjectX team have been busy bees… We’ve been working on the Made from New Zealand project. Its launching soon…
Want to know more ??? Be watching NZ TV any channel at 8:20pm – all will be revealed.
We’re helping take New Zealand to the World!