作者:yuliu预留 | 来源:互联网 | 2023-10-10 11:51
When using associations on a model that also defines a thinking sphinx index via the define_index method the output is useless for any type of checkboxes or select menu. It's as if formtastic is treating the associated objects as a collection of generic objects that it has no insight about. The exact error I get when I use associations is. undefined method `to_i' for #Class:0xb60f2434.
该提问来源于开源项目:formtastic/formtastic
Good to know!