`@project.memberships.create :user => user, :role => role`