update get value from ar
Merge pull request #206 from martinx/master

Update the method to get value from AR