This project is archived and is in readonly mode.
table_name not find in activerecord 3.0.5 sqlite3
Reported by fenisoft | March 2nd, 2011 @ 09:42 PM
I have sqlite3 table name chiamatas
model
class Chiamata < ActiveRecord::Base
end
in rails 3.0.4 ok after update a rails 3.0.5
I get error " Could not find table 'chiamata' " or
SQLite3::SQLException: no such table: chiamata: SELECT "chiamata".*
FROM "chiamata" WHERE "chiamata"."chiusa" = 0
ruby 1.8.7 and 1.9.2 on win32
thank you
Alessandro b
Comments and changes to this ticket
-
Christopher Meiklejohn March 3rd, 2011 @ 05:01 AM
Confirmed. Appears a result of a fix to activesupport to fix proper pluralization.
https://github.com/rails/rails/commit/1754bd9b208e8d9207c226d1ffb3c...
Assuming "won't fix" status, as this is an international pluralization issue?
-
Christopher Meiklejohn March 3rd, 2011 @ 05:03 AM
Rails 3.0.5: ree-1.8.7-head :002 > "Chiamata".pluralize => "Chiamata" Rails 3.0.4: ree-1.8.7-head :002 > "Chiamata".pluralize => "Chiamatas"
-
Andrew White March 28th, 2011 @ 09:44 PM
- State changed from new to duplicate
- Importance changed from to Low
Duplicate of #6479.
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>