On 11 Dec 2008, at 17:06, [email protected] wrote:

> I have a Rails app that uses subdomains as account keys. Users name
> their own subdomains. How can I validate those subdomains as legal?

Just like you would verify a user login. The subdomain then becomes  
part of the login procedure. You store it in a table and you  
"authenticate" the domain in a before_filter.


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to