Displaying 4 results from an estimated 4 matches for "doades".
Did you mean:
dades
2009 May 09
41
updating the db 6000 times will take few minutes ?
i am writing a test program for ActiveRecord, and it reads a document
which is like 6000 words long. And then i just tally up the words by
recordWord = Word.find_by_s(word);
if (recordWord.nil?)
recordWord = Word.new
recordWord.s = word
end
if recordWord.count.nil?
recordWord.count = 1
else
recordWord.count += 1
end
recordWord.save
and so this
2008 Nov 30
11
rake aborted! undefined method `each' for #<Mysql:
I''m struggling with several problems getting my first time ruby on rails
environment running. I''m now stuck on this problem too.
rake db:migrate generates the following error. This one is on a vista
machine. Anyone seen this before. Any thoughts or advice?
Reading about Ruby on Rails has really got me excited to give it a try.
But in practice getting to the point that I can
2010 Mar 24
2
server wont start
In my command line I type script/server and I get the following error
below:
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:826:in
`report_activate_error'': RubyGem version error: rack(0.9.1 not ~> 1.0.1)
(Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:260:in `activate''
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:67:in `gem''
from
2010 Jan 05
6
thin server claims I don't have correct rails gem installed
Hi everyone, I need some insight into a problem I just started having.
I''m running ruby 1.8.6 on an ubuntu box with the following gems
installed:
$ sudo gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.3.4, 2.3.2, 2.2.2)
actionpack (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activerecord (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activeresource (2.3.5, 2.3.4, 2.3.2, 2.2.2)
activesupport (2.3.5, 2.3.4,