ruby on rails - how to create dynamic routes and helpers in rails3 -


i have task create mapping of different urls @ run time .
in application have gui interface displays list of routes routes.rb file.
user has ability change url different name interface
eg. (abc/mno) --user can change them --(hello)
if user type /hello in browser request redirected /abc/mno
have store mapped routes in database.
how add dynamic mapped route defined routes(routes.rb) while creating new record in database
how add routes database while loading routes.rb file.
not able figure out how extend default router can include routes database ..

i don't have complete solution you, can start 2 approaches:


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -