has_many is ok, but has_one raises:
NoMethodError (undefined method `model' for #<Class:0x00000005be6e28>):
activerecord (3.2.3) lib/active_record/dynamic_matchers.rb:50:in `method_missing'
bundler/gems/active_scaffold-015834566f3e/lib/active_scaffold/actions/nested.rb:80:in `beginning_of_chain'
bundler/gems/active_scaffold-015834566f3e/lib/active_scaffold/finder.rb:301:in `find_page'
bundler/gems/active_scaffold-015834566f3e/lib/active_scaffold/actions/list.rb:78:in `do_list'
bundler/gems/active_scaffold-015834566f3e/lib/active_scaffold/actions/list.rb:20:in `list'
bundler/gems/active_scaffold-015834566f3e/lib/active_scaffold/actions/list.rb:9:in `index'
and as i can see the problem is in lib/active_scaffold/actions/nested.rb where it says:
super.model.where(nested.child_association.foreign_key => nested.parent_scope)
and before it was:
active_scaffold_config.model.where(nested.child_association.foreign_key => nested.parent_scope)
ruby doesn't like super models :D
i tested and with active_scaffold_config works fine. However i don't know the inheritance here.