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

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/activescaffold/-/MtAA6nhtJKUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to