diff options
author | rohit <rohit.arondekar@gmail.com> | 2010-06-21 10:33:36 +0530 |
---|---|---|
committer | rohit <rohit.arondekar@gmail.com> | 2010-06-21 10:33:36 +0530 |
commit | eaa973fc7836f40fa73ffba5fd7e9f6c8a3dcd10 (patch) | |
tree | 74035d44bc2867d30acb22512e3aed1bc6261101 /railties/guides | |
parent | 94a7964a89efcd1b66ade39759a4cf8cb8c92266 (diff) | |
download | rails-eaa973fc7836f40fa73ffba5fd7e9f6c8a3dcd10.tar.gz rails-eaa973fc7836f40fa73ffba5fd7e9f6c8a3dcd10.tar.bz2 rails-eaa973fc7836f40fa73ffba5fd7e9f6c8a3dcd10.zip |
Guides: AS Core Extensions, minor type
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 82d1099814..0c7cdd100d 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -255,7 +255,7 @@ NOTE: Defined in +active_support/core_ext/object/acts_like.rb+. h4. +to_param+ -All objects in Rails respond to the method +to_param+, which is meant to return something that represents them as values in a query string, or as a URL fragments. +All objects in Rails respond to the method +to_param+, which is meant to return something that represents them as values in a query string, or as URL fragments. By default +to_param+ just calls +to_s+: |