Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

inner join error in has_many :through

#425

$ 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))

Reported by Kazuhiro Yoshida · June 15th, 2008 @ 04:35 PM

State: duplicate
Milestone: none
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Pratik
    Pratik
    • 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.

    June 27th, 2008 @ 04:10 PM

  2. Frederick Cheung