On 28 Apr 2009, at 16:10, Asa Calow wrote:

That might be a typo - it's to_params rather than to_param.


really?

  def to_param
    name
  end

>> app.account_url(acc)
=> "http://www.example.com/accounts/caius";


C
---
Caius Durling
[email protected]
+44 (0) 7960 268 100
http://caius.name/

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to