Tries to find a resource for a given collection name; if it fails, then the resource is created
Source Code
# File active_resource/base.rb, line 845 def find_or_create_resource_for_collection(name) find_or_create_resource_for(name.to_s.singularize) end
<code/>and<pre/>for code samples.