Bubble Foundry


Setting the AWS region when using simple_record

by Peter.

Because I couldn’t for the life of me find the information in the simple_record documentation, here’s how:

SimpleRecord.establish_connection(sdb_access_key, sdb_secret_key, :server => sdb_region_domain_name)

You can find the SimpleDB region URLs on Amazon’s Regions and Endpoints page.