I think you meant to use the value of the database variable here
Merge pull request #82 from workmaster2n/map_with_ar_typo

I think you meant to use the value of the database variable here