Właśnie robie update z rails 3.rc na rails 3 stable
wcześniej wszystkie testy przechodzily, a teraz mam coś takiego
[code=ruby]class User < ActiveRecord::Base
has_many :articles_users
has_many :articles, :through => :articles_users
end
class Article < ActiveRecord::Base
has_many :articles_users
has_many :users, :through => :articles_users
end
class ArticlesUser < ActiveRecord::Base
belongs_to :user
belongs_to :article
validates_uniqueness_of :article_id, :scope => :user_id
end[/code]
error jakim sypie jest taki
http://pastie.org/1149850
wygląda tak jakby nie dawał gwiazdki(*) między SELECT FROM
z kolei jak wywale validację z ArticlesUser, wtedy wszystko śmiga
zastanawiam się czy to ja coś źle robię, czy to bug w active-recordzie?