Statistics | Archive | Index
Search:

Log for #rubyonrails , beginning Wednesday, November 19 2008

[03:32:11] quit mikezter (Read error: 110 (Connection timed out))
[03:32:07] <Bounga> Radar: using protect_from_forgery :secret => 'blah'
[03:32:01] <leethal> how is it set how is it set how is it set!
[03:31:49] <Bounga> leethal: ok, thank you for your investigation
[03:31:27] <leethal> Bounga: well, I've never used anything other than session storage myself lately, so I can't think of anything
[03:31:20] <Radar> Bounga: and how is it set?\
[03:31:05] quit cakey (Read error: 104 (Connection reset by peer))
[03:31:04] <leethal> right
[03:31:03] <leethal> Bounga: I don't think it can be a reslult of not setting the authenticity token, I don't think the app would work at all without it
[03:31:00] <Bounga> leethal: the secret key is set in application.rb
[03:31:00] <kobani> and for the first time in my career, I need the damned tests :(
[03:30:48] <kobani> so I can't run my tests
[03:30:47] <jails> hello
[03:30:46] quit aufegu-_
[03:30:45] <kobani> ..sorry, really getting me down that I have random gem errors :(
[03:30:30] <leethal> kobani: uh, thanks =)
[03:30:19] <kobani> ohh, or not leethal :(
[03:30:18] <leethal> anyway, that means you're probably setting the autenticity token somewhere
[03:30:16] join GarethAdams
[03:30:10] <leethal> Bounga: I'm not sure, but perhaps
[03:30:01] <Bounga> don't know if it matters or not
[03:29:58] <kobani> leethal: you da man
[03:29:44] <Bounga> leethal: I use active_record_store
[03:29:34] <kobani> :)
[03:29:33] <kobani> thanks leethal
[03:29:31] <kobani> ok, gotcha
[03:29:31] join jails
[03:29:25] <leethal> kobani: if you require the test_helper in your test, rails will do the DB stuff
[03:28:57] quit jails
[03:28:46] <kobani> :(
[03:28:45] <kobani> I need to just test string methods I've added to String
[03:28:38] <kobani> how can I stop a unit test wanting to connect to the databse ?
[03:28:37] <Bounga> leethal: so it's don in environment file
[03:28:12] <leethal> Bounga: I meant how you're configuring the session, yes
[03:27:20] mrichman_ changed their name to mrichman
[03:27:04] <Bounga> the user setup is done by restful_authentication
[03:26:47] <Bounga> the config is done in environment file
[03:26:36] <Bounga> leethal: You mean "How do I configure the session" or " How do I set up the session for the logged in user" ?
[03:25:53] <leethal> brains are weird =/
[03:25:52] quit wzpr_ ("Leaving...")
[03:25:36] <leethal> Bounga ^^
[03:25:31] <leethal> eh, sorry
[03:25:29] join melnik
[03:25:25] quit melnik (Remote closed the connection)
[03:25:16] <Radar> leethal: not me
[03:25:13] <Bounga> Radar: and after the 422 I'm logged out
[03:24:53] <leethal> in environment.rb? In the app controller?
[03:24:44] join swombat
[03:24:43] <leethal> Radar: how are you setting the session?
[03:23:52] part xaz446d