activejdbcで個別の行数を取得するにはどうすればよいですか? さまざまなバリエーションを試しましたが、どれもうまくいきませんでした
Tablename.count("?", "distinct id")
Tablename.count("distinct ?", "id") //missing expression
Base.exec("select count(distinct id) from tablename") //return 1 always (probably the count)