i know DHH said this was a bad idea because if you were to ever update
that object in your db, that your link wouldn’t work. But does anyone
know how I would go about making that data from my db be accessible as
subdomains?
One way would be not to update your “subdomain data” on model update.
Have a
separate field which stores that data only on create. You work around
the
problem. Wordpress (by default) takes a similar approach on blog posts
resaved with a different title.
Vish
hi
i have seen it (but not entirely yet) on the sd.rb pocast, they talk
about
this website http://out.landi.sh which handles dynamic subdomains
it is in the episode 06.
–
Heri R.
http://sprinj.com
Nahice…thanks guys…
Heri R> wrote:
hi
i have seen it (but not entirely yet) on the sd.rb pocast, they talk
about
this website http://out.landi.sh which handles dynamic subdomainsit is in the episode 06.
–
Heri R.
http://sprinj.com