I have two models: a project and a task (for example) with a connection model: project_task, which allows has_many through relationships so that tasks can be shared in projects.
I specified the position as an attribute of the project_task model. Now I want to have access to tasks by their position in the project_tasks table through this project.
i.e. project.tasks (sorted by the position specified for each task in the project_tasks table).
Is it possible?
Paul nelligan
source share