activeadmin / inherited_resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IR ignores :singleton option with belongs_to

dwilkie opened this issue · comments

Following the documentation when I specify belongs_to :manager, :singleton => true in my controller with a singular resource route it expects Manager#workers.build to be defined. So it must be ignoring the option.

When I specify defaults :singleton => true it expects Manager#build_worker to be defined, which works correctly

This issue has been automatically closed because of inactivity.

If you can still reproduce this error on the newest version, please reply with all of the information you have about it in order to keep the issue open.

Thank you.