Displaying 20 results from an estimated 2000 matches similar to: "Wildcard Subdomains & OS X Local Development"
2007 Oct 25
1
Mocking/Stubbing help with subdomain as account key
My app uses account_location to set up subdomains as account keys. In
my controllers, all my model operations are scoped through the
@current_person object.
The question is: How do I test this with RSpec''s mocking and
stubbing? Basically, I need to test that @current_person.things is
getting the find message and returning @thing. I''ve tried stubbing
and mocking
2006 Jul 16
2
how does base camp manage there accounts
hi,
Cant find any information this anywhere so was wondering if anyone had
any ideas.
Basically when you go to basecamp.com it allows you to sign up for a
account and gives you a url username.projectpath.com
I was just wondering how they do this, and if each account has there own
database or if it is all stored in one.
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Jul 01
8
Seeking Advice on Pattern for Multi-Organization Application
I am the developer of FreeMIS - an Open Source management information
system for schools. It currently holds the data for one school - so
different schools host different instances of FreeMIS.
I would like to expand the domain of a single instance of FreeMIS, so
that it covers all the schools in an education authority. THis will
enable me to implement authority-wide functionality.
Is there
2006 Feb 04
2
Differentiating between normal site content and accounts with subdomains
I''m using the subdomains as accounts method fine on a project, but
I''m wondering what is the best way to differentiate between account
subdomains to access the app using an account, and www.domain.com and
domain.com in order to show normal site content.
I''ve noticed that on Backpack, it seems that when you leave the
information pages and start using the app,
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
2006 May 09
4
subdomain
hi,
how to create a subdomain outside the public directory
and how to redirect to the subdomain
--
Posted via http://www.ruby-forum.com/.
2007 Mar 17
3
How is this done with REST (blinksale account)?
In Blinksale, the settings link in the top right takes you to the /
account url. From there, the side nav takes you to /account;templates /
account;reminders , etc.
>From what I''ve read, ;templates and ;reminders are custom rest actions
for a given resource. But the controller (account) does not appear to
be of rest nature. Also, when creating a new account, the url is /
firms/new .
2011 Oct 27
1
creating subdomains
HI All,
I surfed a lot , googled a lot , read/watched railscasts but could not get
the solution.
Below is my problem.
1) I wanted a parent domain www.xyz.com. This parent domain will have two
subdomains abc.xyz.com and def.xyz.com.
The parent domain will have a admin user who has capability to create/manage
subdomains.
The subdomains should an a siteadmin user who can edit the site
2010 Jun 24
1
Custom account subdomains with Rails 3
Hi,
I needed to handle custom account subdomains with Rails and I wrote a
simple rack middleware for that http://github.com/drogus/rack-subdomain.
It works by mapping any subdomain to given PATH. For example when user
hits drogus.example.org/account and mapping is /users/:subdomain, it
will map the request to example.org/users/drogus/account
I accomplished it with rack middleware, cause I wanted
2006 Jan 18
2
How do you get link_to to work correctly when using subdomains as account keys?
When using subdomains as account keys (as per this HowTo:
http://wiki.rubyonrails.org/rails/pages/HowToUseSubdomainsAsAccountKeys),
how can you get link_to to spit out the correct URL (i.e.
account123.domain.com)?
<%= link_to "My Account", { :action => "show", :id => "account123" }
%> would generate "http://www.domain.com/show/account123"
I
2006 Feb 06
1
Two subdomains with diferent controllers but same helpers and components
Hi,
I want to have www.myproduct.com and myclient1.myproduct.com working on same
server.
I would like to have different controller in wich subdomains, example:
on www I want to have sgnup and prices controller and on myclient subdomain I
want login, settings, etc...
I can open two environments
rails www
rails clients
or point the two subdomains to same environment
rails myproduct
Wich is
2006 Jun 09
2
Virtualhost, Alias & Subdomains
I am having a problem with subdomains, alias & virtual hosts
Centos 4.3, Apache 2.0.52 & PHP 5.04
I can get the primary to work, but not the aliased servers.
http.conf extract
*********
NameVirtualHost *
<VirtualHost *>
ServerName www.domain.com
DocumentRoot /var/www/html/domain/
ServerAlias www.altdomain.com <http://www.altdomain.com>
</VirtualHost>
<VirtualHost
2006 Aug 18
2
subdomains with Rails
Hi.
I want to add subdomains like this:
Example: http://shirts.myshopify.com , http://computers.myshopify.com
Is it something you can do while still in development mode or do you
wait until you deploy and configure the subdomain names with your host
somehow?
Can you help direct me in the right way to do this?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 06
1
How to make fancy urls (like basecamp clientx.clientsection.com]?
Im writing a app, and i wanted to have something like basecamp urls for
a account of the user of the user.
2007 Oct 26
3
Specing with Subdomains as Account Keys
How do you go about implementing and rspecing subdomains as account
keys? I''m sure that this must be an issues for others as well.
So I have an app using subdomains as account keys. The Application
Controller sets up @current_company in a before filter. Everything is
done within the context of the @current_company.
After reading about Demeter''s Revenge
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys,
This is the final list of the new maintainers of each plugin.
We need two more things to do:
First please the owners of the repos add the rest of the maintainers.
Second I will add a note on each rails/plugin mentioning this repos updates.
So from now on, if someone else is interested in helping/contributing
please send a message to the appropriate repo owner.
verification
2006 Feb 08
10
Sharing sessions between subdomains?
Hello,
I know how to share sessions between subdomains in PHP. Can anyone please guide me as to how I can share sessions using Ruby? Where can I set the value of domain for which the cookie is set?
I would like for a user to login on the home page and then go to blog.home.com and not have to login again.
Any guidance/pointers are appreciated.
Thanks''
2005 Mar 02
1
using subdomains as account keys
I finally managed to use subdomains as account keys, just as in
tadalist.
Now I have an "account" variable in all my controllers, and was thinking
about what implications I''m going to have on security, because the
accounts table contains all account crypted passwords (of course).
Is it secure or not ?
David ? :)
--
checking for life_signs in -lKenny... no
Oh my god, make (1)
2009 Jul 02
2
Big help with shared subdomains cookies
Hi, i need that all the subdomains of an app (using subdomain_fu) use
''.domain.com'' as domain for all cookies.
I''ve set ActionController::Base.session_options[:domain] = ''.domain.com''
and it works...for just the session... how can i set this also for
common cookies ? (created with cookies[:name] = {:value => value,
:expires => 6.months.from_now} )
2007 Dec 17
2
Many domain - one rails application
If I have many domains and one rails application, how can I redirect to
conrollers by domain?
Ex. "domain.com" go to controller "/com", "domain.net" go to controller
"/net" and "other.org" go to "/other"
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you