provide locals record to partial
Merge pull request #5 from coblej/new_record_fix

provide locals record to partial