Takes a response from a typical create post and pulls the ID out
# File active_resource/base.rb, line 831 def id_from_response(response) response['Location'][/\/([^\/]*?)(\.\w+)?$/, 1] end
<code/>
<pre/>
<code/>and<pre/>for code samples.