Zach Dennis
Not a member
Zach Dennis's latest activity
Friday, June 13 2008
323
has_many :through => belongs_to_association bug
was updated
in Ruby on Rails
-
Zach Dennis commented at 3:18 AMI'm working on updating the patch to incorporate a test for eager loading. I think some refactoring will be underway since the way has many through association...
Wednesday, June 04 2008
323
has_many :through => belongs_to_association bug
was updated
in Ruby on Rails
-
Zach Dennis commented at 12:05 AMAttached is another update to the patch to cover the below scenario:
class Day belongs_to :trip has_many :expenses, :through => :trip end # - this w...
Tuesday, June 03 2008
323
has_many :through => belongs_to_association bug
was updated
in Ruby on Rails
-
Zach Dennis commented at 10:21 PMAttached is an updated patch. Rather than relying on fixtures this patch creates what it needs inside the test. This forces the implementation to be be updated...
-
Zach Dennis commented at 9:16 PMThe above output is:
SQLite3::SQLException: no such column: trips.trip_id: SELECT "expenses".* FROM "expenses" INNER JOIN trips ON expenses.trip_id = trips.id... -
Zach Dennis created the ticket at 9:05 PMIf you declare a has many association through a belongs_to association it will generate invalid SQL and your database will complain.
For example the below has...