diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-04-27 14:21:16 +0200 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-04-27 14:21:16 +0200 |
commit | fc3d15dcb0c4265d1aaeedfc51d8a8c8e382347a (patch) | |
tree | 05fc3bc5c7df89712f1f11e7f94306100265e74f /guides/source/getting_started.textile | |
parent | f4447607f20c420d9c341b19064c07d5b7aa6cee (diff) | |
parent | 39574aa582337baa32a58caae7b2671cb52ae718 (diff) | |
download | rails-fc3d15dcb0c4265d1aaeedfc51d8a8c8e382347a.tar.gz rails-fc3d15dcb0c4265d1aaeedfc51d8a8c8e382347a.tar.bz2 rails-fc3d15dcb0c4265d1aaeedfc51d8a8c8e382347a.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/getting_started.textile')
-rw-r--r-- | guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 0001fff389..4c44b1ffec 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -465,7 +465,7 @@ invoking the command: <tt>rake db:migrate RAILS_ENV=production</tt>. h4. Saving data in the controller -Back into +posts_controller+, we need to change the +create+ action +Back in +posts_controller+, we need to change the +create+ action to use the new +Post+ model to save data in the database. Open that file and change the +create+ action to look like the following: |