This project is archived and is in readonly mode.
inner join error in has_many :through
Reported by Kazuhiro Yoshida | June 15th, 2008 @ 04:35 PM
$ rake test_sqlite3 TEST=test/cases/associations/has_many_through_associations_test.rb
test_inner_join_with_quoted_table_name(HasManyThroughAssociationsTest):
ActiveRecord::StatementInvalid: SQLite3::SQLException: near "references": syntax error: SELECT count(*) AS count_all FROM "jobs" INNER JOIN references ON jobs.id = references.job_id WHERE (("references".person_id = 1))
Comments and changes to this ticket
-
Pratik June 27th, 2008 @ 04:10 PM
- State changed from new to incomplete
- Tag set to 2.1, activerecord, bug, has_many, joins, patch
- Assigned user set to Pratik
I get around 13-14 tests failures after applying the patch. Could you please fix them ?
Thanks.
-
Frederick Cheung December 20th, 2008 @ 09:12 PM
- State changed from incomplete to duplicate
Issue fixed in #1163/ 75a133f92ff7e27b83032babf829d8a58803bb3c
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>