Tristan Dunn
Not a member
Tristan Dunn's latest activity
Sunday, August 09 2009
2719
has_many :through should work if the join model uses has_one relationship
was updated
in Ruby on Rails
-
Tristan Dunn commented at 8:33 PM+1 Verified
Cleanly applies (apart from whitespace warning) and passes on master and 2-3-stable.
2949
Rails 2.3.3 ActiveRecord generates invalid SQL conditions for named_scope wit...
was updated
in Ruby on Rails
-
- Tag changed from 2.3.3, activerecord, bugmash, conditions, joins, named_scope, sql to 2.3.3, activerecord, bugmash, conditions, joins, named_scope, sql, verified
The issue is with sanitize_sql_hash_for_conditions overwriting the table name if one is present in the conditions. Solution was to simply reset it at the beginn...
Saturday, August 08 2009
1908
Schema dumper ignores custom id column even when :id => false
was updated
in Ruby on Rails
-
Tristan Dunn commented at 11:48 PMSeems to be some confusion on which branch I should be working on so I made one on master and 2-3-stable.
-
Tristan Dunn commented at 11:35 PMNew patch to simply not default the primary key to ID in the schema dumper. If you don't define it then the connection should find it.
Saturday, February 07 2009
1908
Schema dumper ignores custom id column even when :id => false
was created
in Ruby on Rails
-
Tristan Dunn created the ticket at 11:42 PMGiven the following migration:
create_table(:table, :id => false) do |t| t.string :id, :null => false, :limit => 40 endthe schema dumper would generat...