What's the best way to load key/pair values to memcache in a rails app?

Hello All

Is there a way to configure rails (3.2.6) to load key/pair values (from
a
web service) into a rails app?

Thank you for your help.