README.rdoc in ploymorphic_wuid-0.5.0 vs README.rdoc in ploymorphic_wuid-0.5.1
- old
+ new
@@ -44,9 +44,11 @@
return the object:
obj = Wuid.find(params[:wuid]).wuidable
+ now you can both pass in an id or an rand_token to get the corresponding object
+
get an object's wuid:
obj.wid