aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile
index 8196a67d35..7b457afb23 100644
--- a/guides/source/getting_started.textile
+++ b/guides/source/getting_started.textile
@@ -371,7 +371,7 @@ When a form is submitted, the fields of the form are sent to Rails as _parameter
<ruby>
def create
- render :text => params.inspect
+ render :text => params[:post].inspect
end
</ruby>