README.rdoc in rsl-stringex-0.9.3 vs README.rdoc in rsl-stringex-0.9.4

- old
+ new

@@ -11,9 +11,11 @@ which will populate the <tt>url</tt> attribute on the object with the converted contents of the <tt>title</tt> attribute. This behavior can be customized by adding the following options to the arguments of the <tt>acts_as_url</tt> method: <tt>:url_attribute</tt>:: The name of the attribute to use for storing the generated url string. Default is <tt>:url</tt> <tt>:scope</tt>:: The name of model attribute to scope unique urls to. There is no default here. +<tt>:only_when_blank</tt>:: If true, the url generation will only happen when <tt>:url_attribute</tt> is + blank. Default is false (meaning url generation will happen always) <tt>:sync_url</tt>:: If set to true, the url field will be updated when changes are made to the attribute it is based on. Default is false. In order to use the generated url attribute, you will probably want to override <tt>to_param</tt> like so, in your Model: