> I just about always have domains in /etc/hosts to mirror the real
> ones, ie if the app was deployed at www.example.com &
> orders.example.com I'd have www.example.local & orders.example.local.
> I like keeping my development environment close to the production one.
>
> Fred
Agreed, I just wish
On Apr 11, 1:47 pm, Ram wrote:
> Andrew,
>
> Awesome! That did it.
> Edited /etc/hosts as you suggested,
> changed Subdomain_fu's tld_size for development to 1
> restart server
> boom!
>
I just about always have domains in /etc/hosts to mirror the real
ones, ie if the app was deployed at www.ex
Andrew,
Awesome! That did it.
Edited /etc/hosts as you suggested,
changed Subdomain_fu's tld_size for development to 1
restart server
boom!
Great stuff! learnt a lot! thanks a lot.. both of you..
On Apr 11, 5:41 pm, Ram wrote:
> Actually, on second thought, this could be a pain. I use FF with
Actually, on second thought, this could be a pain. I use FF with
Firebug to debug my JS. And also once in a while, check for browser
compatibility.
You think I can access and edit this 'list' FF might be working
off? :) kinda like editing /etc/hosts?
Or could there be a development domain that FF
To get sub-domains working in development, I update my hosts file with
domains like x.test.com and y.test.com and test.com in my hosts file
all pointing to localhost and then do the various tests with the
cookie set on .test.com
Then you can access the sites on x.test.com:3000 etc
Andrew Timberla
Bang on! :) Its working in production. Not working in dev. I can live
with that :). (i hope...)
Thanks again Fred!
On Apr 11, 5:23 pm, Frederick Cheung
wrote:
> On Apr 11, 12:40 pm, Ram wrote:
>
> > :) I checked that the first time, of course. I know I came off a lil
> > dim last time but come
On Apr 11, 12:40 pm, Ram wrote:
> :) I checked that the first time, of course. I know I came off a lil
> dim last time but come on :D
>
> I dumped all the cookies and authentication data and all other private
> data twice and restarted FF and checked again to make sure nothings
> hanging around
:) I checked that the first time, of course. I know I came off a lil
dim last time but come on :D
I dumped all the cookies and authentication data and all other private
data twice and restarted FF and checked again to make sure nothings
hanging around and then cleared it again and I tried logging
On Apr 11, 12:25 pm, Ram wrote:
> :D
>
> ok i cleared the relevant cookies in Safari and its working now.
>
> But Firefox is throwing me the InvalidAuthenticityToken error when i
> try to login. any idea why?
maybe it also had duff cookies? authenticity tokens are based on the
session, so if
:D
ok i cleared the relevant cookies in Safari and its working now.
But Firefox is throwing me the InvalidAuthenticityToken error when i
try to login. any idea why?
On Apr 11, 4:09 pm, Frederick Cheung
wrote:
> On Apr 11, 12:01 pm, Ram wrote:
>
> > I guessed I should be checking that but I r
On Apr 11, 12:01 pm, Ram wrote:
> I guessed I should be checking that but I really couldnt figure out
> HOW to check them!
Wasn't thinking of anything more sophisticated than checking in your
browser's preferences.
Fred
> I use restful_authentication so where in the flow should i be raising
I guessed I should be checking that but I really couldnt figure out
HOW to check them!
I use restful_authentication so where in the flow should i be raising
an exception and what should i be throwing up to debug?
Im actually pretty sure there're excess cookies hanging around.
Because when I go to
On Apr 11, 11:43 am, Ram wrote:
> Im using Rails 2.1.0 so I understand the option is still
> session_options[:session_domain] for me (as opposed to session_options
> [:domain] for 2.2.0+)
>
> By the way, ive tried setting ActionController::Base.session_options
> [:session_domain] to both 'domai
Hi Fred, Andrew,
Thanks a lot! I did some searching on this. Mainly because it still
isnt working for me.
It still leads me back to the login page after failing the
before_filter :login_required callback on dashboard_controller.
Im using Rails 2.1.0 so I understand the option is still
session_o
>> Hi all,
>>
>> Ive got a login form for users with the fields subdomain, username and
>> password. This is at the URLhttp://domain.com.
>>
>> When the user submits the form and login is successful, i need the URL
>> to change tohttp://subdomain.domain.com/whatever.
>> How can I do this?
>
> You
On Apr 10, 11:26 am, Ram wrote:
> Hi all,
>
> Ive got a login form for users with the fields subdomain, username and
> password. This is at the URLhttp://domain.com.
>
> When the user submits the form and login is successful, i need the URL
> to change tohttp://subdomain.domain.com/whatever.
>
16 matches
Mail list logo