Joined October 2014
·

Sławek

Poland
·
·

Posted to Rails routing and namespaced models over 1 year ago

I fought hard to get rid of namespace prefixes in generated urls from namespaced models, this 'rails magic' gave me only headaches and routes duplications to maintain models correctly. I even thought about using isolated namespaces somehow. This solution resolves all my problems. Dunno why it's not documented. Thanks for sharing!

Achievements
1 Karma
0 Total ProTip Views