Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows XP Home
JRuby on Rails using NetBeans6.1
-
Number of attachments :2
Description
I tried many times to implement a SQLite3 sample,then I got failure.
I could make local database creation using SQLite3.
After that when I tried to input data to this database,then I get exception in attachment.
What are wrong?
RoR Project : laszlocustomerapp
database: sqlite3
scaffold modelname: customer
field pairs: zip:integer address:string first_name:string last_name:string birthday:date tel:string mail:string mail_mobile:string note:string
Attachments
-
- JIRA_Attachment.txt
- 28/Jun/08 8:49 PM
- 10 kB
- Sotohiro Terashima
-
$i18n.getText("admin.common.words.hide")
- RoRsqlite3.zip
- 06/Jul/08 2:00 AM
- 102 kB
- Sotohiro Terashima
-
- laszlocustomerapp/app/.../application.rb 0.7 kB
- laszlocustomerapp/.../customers_controller.rb 2 kB
- laszlocustomerapp/.../application_helper.rb 0.1 kB
- laszlocustomerapp/.../customers_helper.rb 0.0 kB
- laszlocustomerapp/app/models/customer.rb 0.0 kB
- laszlocustomerapp/app/.../edit.html.erb 0.9 kB
- laszlocustomerapp/app/.../index.html.erb 0.9 kB
- laszlocustomerapp/app/.../new.html.erb 0.9 kB
- laszlocustomerapp/app/.../show.html.erb 0.6 kB
- laszlocustomerapp/app/.../customers.html.erb 0.5 kB
- laszlocustomerapp/config/boot.rb 3 kB
- laszlocustomerapp/config/database.yml 0.5 kB
- laszlocustomerapp/config/environment.rb 3 kB
- laszlocustomerapp/config/.../development.rb 0.7 kB
- laszlocustomerapp/config/.../production.rb 0.9 kB
- laszlocustomerapp/config/.../test.rb 1.0 kB
- laszlocustomerapp/config/.../inflections.rb 0.4 kB
- laszlocustomerapp/config/.../mime_types.rb 0.2 kB
- laszlocustomerapp/.../new_rails_defaults.rb 0.7 kB
- laszlocustomerapp/config/routes.rb 2 kB
- laszlocustomerapp/db/development.sqlite3 5 kB
- laszlocustomerapp/.../20080628072703_create_customers.rb 0.4 kB
- laszlocustomerapp/db/schema.rb 1 kB
- laszlocustomerapp/doc/README_FOR_APP 0.2 kB
- laszlocustomerapp/etilqs_L6QF3uMIDroAbAr 1.0 kB
- laszlocustomerapp/etilqs_L6QF3uMIDroAbAr-journal 0.0 kB
- laszlocustomerapp/log/development.log 15 kB
- laszlocustomerapp/log/production.log 0.0 kB
- laszlocustomerapp/log/server.log 0.0 kB
- laszlocustomerapp/log/test.log 0.0 kB
Activity
I will attach the sample Rails app + script to reproduce the problem.
Sotohiro Terashima
I uploaded my sample app (migration) and output (mri, jruby113, jruby114) to JRUBY-2647.
See too my experience with Jruby and Sqlite: http://jira.codehaus.org/browse/JRUBY-2647
I found that Thomas E Enobo resolved JRUBY-2647,but when I tried JRUBY-2718 once again,got failure.
Environment:
NetBeans 6.5
JRUBY 1.1.6
activerecord-jdbcsqlite3-adapter(0.9) from GEM
jdbs-sqlite3 3.5.8
rails 2.2.2
Must we untill activerecord-jdbcsqlite3-adapter(0.91) from GEM?
The fix I made will not show up until activerecord-jdbc 0.9.1 is released. It is fixed in trunk now. You could clone ar-jdbc repository and build it yourself if you want to verify this issue is fixed (repository information is at http://kenai.com/projects/activerecord-jdbc). Looking at the scaffold you are setting up I am fairly sure it will work now.
I did a nearly identical migration and app and it works. I am closing as fixed.
I looked at Ruby Gems,but I could not find new Update.
By what means can I experience the reflection of your effort?
Can you provide a sample Rails app + script to reproduce the problem? That might help this move forward.