Ticket #41: Docs_add_another_to_s_example.patch
| File Docs_add_another_to_s_example.patch, 0.5 kB (added by qeantk, 2 years ago) |
|---|
-
README
194 194 link_to category 195 195 end. 196 196 join( " | " ) 197 198 You should also call to_s for any other method you want to call directly (as 199 opposed to the @helpers technique below), but don't want output directly, such 200 as putting a named_route in a form_for. 201 202 form_for :resource_name, url => resource_name_path(@instance).to_s 197 203 198 204 == 6. The <tt>tag!</tt> Method 199 205