Give AS and RecordSelect (Sergios branch) current masters; I can't bring the following config to live:
class AgeClassDisciplinesController < ApplicationController
record_select :include => [:age_class, :discipline], :search_on => ['age_classes.keywords', 'disciplines.keywords']
Typing in the rs-form-field only results in:
(0.4ms) SELECT COUNT(*) FROM "age_class_disciplines" WHERE ((age_classes.keywords LIKE 'M7%' OR disciplines.keywords LIKE 'M7%'))
SQLite3::SQLException: no such column: age_classes.keywords: SELECT COUNT(*) FROM "age_class_disciplines" WHERE ((age_classes.keywords LIKE 'M7%' OR disciplines.keywords LIKE 'M7%'))
Apparently the :include ist silently ignored, as there is no join in the sql statement ... everything else is working fine, i.e. using rs to search for plain attributes etc.
Anybody sees anything obviously wrong?
Regards
Michael