Displaying 3 results from an estimated 3 matches for "default_account_subdomain".
2006 Feb 18
3
scoped databases need explanation...
Could someone explain this
http://blog.leetsoft.com/articles/2005/10/31/scoped-databases
in a way that can be understood with an example if possible. Tobi Lutke
has started to explain but it does not make any sense.
"Since rails 0.13.1 we support calling class methods over associations."
what?? give an example.
also
"The Shop object is figured out at the beginning of each
2006 Jul 09
0
account_location couple of questions.
Hi I''m having a look at the account_location plugin for a project and
there''s a couple of things i''m not sure on.
One is what the default_account_subdomain method does.
def default_account_subdomain
@account.username if @account && @account.respond_to?(:username)
end
What is this used for? Can anyone provide an example of it''s usage please?
Also, the authenticate method in the example controller, What exactly is
this doing?...
2006 Jan 25
6
Displaying based on hostname/subdomain
Ive tried multiple ideas to get this to work, but keep hitting a dead
end. Has anyone done this before?
I want joe.domain.com to display www.domain.com/profile/joe
Im using lighttpd.
Routes dont have access to the URL string and therefore I cant code in
a conditional. lighttpd rewrite seems to really screw it all up. Is
there a feasible solution?
Thank you,
Joe Noon