I have this bad habit of "starring" (gmail) messages and forgetting to get back to it. Better late than never. Thanks jasoo and willhaslett!
Ramon Tayag On Sat, Feb 28, 2009 at 3:19 AM, jasoo24<[email protected]> wrote: > > I would recommend that you hard-code that list and also include > controller names you may use in the future and reserved or restricted > words. > > On Feb 26, 5:49 pm, Ramon Tayag <[email protected]> wrote: >> Okay, just a follow up question: is there an automatic way to make an >> array of all controller names? So that I could use this in the user >> model to validate the user doesn't type in any of the controller >> names. >> >> (This is a continued conversation of one that asked about making >> routes this way: >> >> domain.com/username >> >> but still retaining the functionality to send the user to a controller >> if they typed: >> >> domain.com/controllername >> >> Ramon Tayag --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

