#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11 12
Top Prev 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 Next
#rubyonrails
<pawitp> Anyone? I've added HTTP authentication to my code and functionality test error out due to getting :401, I need to pass the user and password somehow
<tpope> geez kain
<tpope> don't be so conservative
<daniel-jean> nukio: the rails version in vendor/ralis takes precedence. If it's not found there, it looks for the gem
<tpope> be bold in your suggestions
<nukio> daniel-jean: thx for the explanation
<kain> tpope: I'm trying the easy way to accomplish this
<kain> or better
<kain> I'm trying to find
<kain> :D
<tpope> why do you want to rename?
<kain> to be prepared for 2008
<kain> lol
<kain> haven't you seen the latest changesets?
<BucWheat> tpope no need for finding alternatives current method will suffice. what is the general method for querying data from tables based on relationships
<BucWheat> tpope out of all the books i've read on it i still do not understand it
<daniel-jean> kain: someone will have a rake tasks that does that long before then :)
<kain> http://dev.rubyonrails.org/changeset/6178
<kain> daniel-jean: probably
<tpope> BucWheat: a select helper?
<tpope> pick a doctor from a drop down list
<pawitp> So can anyone help me
<kain> now I need to learn to write tests using rspec
<pawitp> Anyone free to help?
<pawitp> Anyone? I've added HTTP authentication to my code and functionality test error out due to getting :401, I need to pass the user and password somehow
<daniel-jean> pawitp: I'd check out the Restful Auth or AAA plugins, and read their test code
<nukio> daniel-jean: still didn't work... :o... my q is why does it still say in these errors - rails-1.1.6 even though i did the gem update rails command
<tpope> nukio: edit config/environment.rb
<daniel-jean> nukio: make sure you're not requesting an old rails version in there :)
<tpope> also, that's not your real problem
<tpope> and that's not what the post you were linked said to do
<valehru> Hey guys, I'm trying to set up rails to be co-operative with apache2. Anyhow, I keep getting the following error's when I try and do anything, nothing seems to work. I can get to the /myapp/public folder but from there things go funky..... Here
<tpope> edit application.rb
<tpope> fix it there
<valehru> here's the errors Im getting: http://pastebin.com/885636
<tpope> like the post said
<nukio> tpope: your right.
<nukio> daniel-jean: as are you
<nukio> daniel-jean: u guys rock!
<tpope> valehru: those aren't errors
<tpope> that's the source code for a fastcgi script
<tpope> which means you need to install and configure fastcgi
<valehru> tpope, I've got fcgi installed.
<valehru> at least I think I do..
<tpope> it's not properly configured
<valehru> ok....could ya guide me through it?
<nukio> tpope: i modified the RAILS_GEM_VERSION to 1.2.2 and now i'm getting application 500 errors... but if i change it back to 1.1.6 it works fine... any clue why?
<tpope> no :)
<tpope> for valehru
<valehru> haha....well I have to find out how to do it somehow...
Previous Page Next Page