Displaying 20 results from an estimated 400 matches similar to: "rake db:migrate is semi-broken"
2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
Just upgrade from rails 1.0 to 1.1
Everytime I run the unit and/or functional tests, I got the following
messages. Is there something I need to do to remove? I am not sure where
to start. Thanks in advance.
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15.
Here are the errors:
gregg@gregg2 ~/user/DMS $ rake test
(in /home/gregg/user/DMS)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:2: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:11: warning: method
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2006 Oct 05
0
script/console - no such file to load -- readline
Hi there,
I just set up ruby and rails and now whenever I run script/console I get
this error:
Orenad:~/Sway/Projects/mi7/trunk/mi7 dave$ ruby script/console
Loading development environment.
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require'': No such file to load --
readline (LoadError)
from /usr/lib/ruby/1.8/irb/completion.rb:10
from
2006 Sep 06
5
admin controller problem
I am reading the agile web development with rails book, and starting to
create the depot. I am getting the below error after setting up the
"ruby script/generate scaffold Product Admin" does anyone know what the
problem is?
NameError in AdminController#index
uninitialized constant Mysql
RAILS_ROOT: ./script/../config/../
Application Trace | Framework Trace | Full Trace
2006 Nov 04
0
ProbleM!!!!!!!!!!!!!!!!!!
Hi,
I trieed umpteen times to connect ruby on rails to MSSQL server using
the standard procedures and I always get the samw error. As I was
previously working with MYSQL I faced no problem .Now at a time critical
situation I need a solution for this...........
Open
OLE error code:800A0E7A in ADODB.Connection
Provider cannot be found. It may not be properly installed.
HRESULT error
2007 Jan 10
0
SQLite3::CantOpenException
Hi,
When I try to run a controller that connects to my project''s sqlite
database, I get the following exception:
SQLite3::CantOpenException in PostController#index
could not open database
config/database.yml correctly points to my database, like so:
development:
adapter: sqlite3
database: db/dev.db
I''ve had Rails projects working with sqlite3 before (recently), but
2006 Aug 25
6
End-of-File Error occured at <except.c>:103 in xpop_context
Hi, I get this when searching or adding a new record. I am using today''s
version of trunk and gem ferret 0.10.0
any ideas? thanks!
EOFError in DvbesController#new
End-of-File Error occured at <except.c>:103 in xpop_context
Error occured in store.c:197 - is_refill
current pos = 0, file length = 182
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
2007 Jan 09
0
Production Mode with SCGI
Hi,
I have an application running on Apache SCGI (Win XP). Once I run it in
production mode (scgi_ctrl config -S -e production ) I''m getting
stack trace instead of HTTP status 500 (Application Error) and the
error is logged production.log. The application works fine without
SCGI. Your help is highly appreciated....
Thanx
/* production.log */
# Logfile created on Thu Jan 04 16:35:43
2006 Sep 30
0
ActionPack CGI and Ruby 1.8.5
I know 1.8.5 isn''t officially sanctioned but something has changed in
it that is breaking the ActionPack unit tests for cgi.rb. Wasn''t able
to trace if it''s something in Rails that needs adjusted or if cgi.rb
picked up a bug.
The first run is the default OS X ruby 1.8.2, the second run is ruby
1.8.5
rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
2007 Aug 21
2
ActionPack raw_post_data_fix.rb#read_body bug with AMF data.
Hey Everyone,
I just found a slight problem with the "read_body" method in
raw_post_data_fix.rb.
This line:
# Fix for Safari Ajax postings that always append \000
content.chop! if content[-1] == 0
This causes problems with Flash AMF binary format. As AMF always appends
a \000 to the stream as well. I''m the developer over at RubyAMF and have
been running into problems with AMF
2008 Jun 25
4
Error with mongrel_rails start
When I make an empty Rails web application, and go through the steps
to create/include a database, and scaffold, mongrel_rails start (or
ruby script/server) works just fine. However, I attempted this with a
pre-existing web app and I got some errors.
First, I gathered the app''s folder (checked the contents, it has all
the folders plus one extra: components) and placed it under ruby/
2006 Nov 04
2
strange errors in dev.log and webserver log
Hi guys,
I have encountered a strange error in one of my applications.
The details are the following:
The application is a very simple one, I have one model, Cards, it has
some pretty basic stuff, some after_save methods for saving uploaded
files to their places.
I have an UI where I can manage the Card records, with the default
methods, including ''edit''
cards_controller.rb:
2006 Aug 13
14
undefined method `each'' for #<Mysql:0x3874b20>
Running on XP, Rails v1.1.6, Ruby 1.8.4, mysql 5.0.24, WEBrick 1.3.1
just doing a basic ''scaffold'' against a table in mysql, I originally got
the "undefined method ''each''" error at all times then saw something
advising to uninstall the gem mysql package, which I did.
then it seemed to work! - but only the first ''list'' call to the
2006 Aug 04
0
Rake migrate errors, but it still works
I get the errors below when running rake migrate, but it still works.
Is there anything to be bothered about? Some appear twice.
All of the below are installed from portage in Gentoo.
me@machine ~/Site $ rake migrate
(in /home/me/Site)
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
I''m developing a Rail application to accept data upload using HTTP PUT
call. Support for PUT in Rails seems to be broken in query params
parsing. I have a patch to fix the problem, but I''m not sure if it is
the "right" solution. Can some Rails developers take a quick look? I
can really use some help. :-)
Here is the evident of broken param parsing.
Processing
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
Hi all,
I''ve a rails project which successfully uploads images on the
development server but fails to do it on production. The only difference
is that the production server is on https/ssl.
On the browser the error message is the followin:
''Application error
Rails application failed to start properly''
Whereas in the log/fastcgi.crash.log i found the followin error
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All,
I have run into a road block with my RoR project. The app works fine
without SSL but when I try to upload a file with the site running in
HTTPS, cgi.rb throws an EOFError:
[13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content
body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
2006 Dec 04
7
I need help to connect Postgres and Ruby on Rails Please.
Hello to everyone, I have a problem that is giving me a headache, and
trying to do a project in Ruby on Rails and I need to connect with a
Data Base that is en Postgres, the truth is that I didn’t think that it
was so hard to connect a DB with postgres because I was working with
Msyql and everything was easy. This are the thinks that I have install
in my computer.
1. Debian GNU/Linux, kernel