When building a relationship Belongs to Many with Pivot Data the lack of a table name causes an sql ambiguous ID error.
Merge pull request #837 from carlos-arroyo/develop

When building a relationship Belongs to Many with Pivot Data the lack of...