This project is archived and is in readonly mode.
Myssql bug when testing
Reported by jeremy | December 15th, 2010 @ 01:04 PM
Hi,
For begining I m not speek english very well, So be nice with my
language.
I use win7, NetBeans 6.9.1, ruby 1.9.2, rails 3.0.3.
I use the tutorial above to learn about ruby on rails :
http://netbeans.org/kb/docs/ruby/rapid-ruby-weblog.html
I follow the tutorial up to the chapter "Validating Input" point 8.
In this point I have the next error :
Test-unit version : 2.1.2 loaded
(in C:/Users/jcourbat/Documents/NetBeansProjects/rubyweblog) Loaded
suite C:/Ruby192/lib/ruby/1.9.1/rake/rake_test_loader
Started
E
Finished in 2.362000 seconds.
1) Error: test_invalid_with_empty_attributes(PostTest):
ActiveRecord::StatementInvalid: Mysql2::Error: Table
'rubyweblog_test.posts' doesn't exist: DELETE FROM
posts
I do all the things in the tutorial. I try to do this through the cmd but same bug appears.
I hope you can help me because i search in a lot of forum but no answer.
Thanks
Comments and changes to this ticket
-
rails March 16th, 2011 @ 12:00 AM
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
rails March 16th, 2011 @ 12:00 AM
- State changed from open to stale
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>