I have users and projects. User can have many projects and project can have many users. Now project has a particular user as an author or the creator, ie. project has one creator and that creator is also a user. How do I map this relation in rails !!!
Share
And you need to add
author_idto the projects table.So you can use:
project.author,user.authored_projects, etc