Commit Graph

138 Commits

Author SHA1 Message Date
Afshin Mokhtari
6353ea4746 fix grammatical error 2013-12-12 17:52:18 -05:00
Sagar Junnarkar
e7f533e346 Link for "New Post" is added in Getting Started guide [ci skip]
- Earlier(line number 862) it is said to add <%= link_to 'New post', new_post_path %> on posts index page before table tag. But when posts index page html is shown, "New Post" link is missing.
So aaded "New Post" link in this commit
2013-11-27 11:23:09 +05:30
Daniel Rodríguez Troitiño
723c3881b9 Keep code consistent with previous code blocks.
[ci skip]
2013-10-10 18:38:04 +02:00
Vijay Dev
33434f69c4 Merge branch 'master' of github.com:rails/docrails 2013-09-28 23:28:16 +05:30
Francis Go
713f138258 Getting Started Guide: Fix code container in Chapter 5.2 [ci-skip] 2013-09-28 01:45:15 +10:00
Yves Senn
287014d724 Merge pull request #12366 from francisgo/patch-4
Getting Started Guide: Update sentence in Chapter 5.8 [ci-skip]
2013-09-27 04:55:33 -07:00
Francis Go
b41d3210e3 Getting Started Guide: Update sentence in Chapter 5.8 [ci-skip] 2013-09-27 21:22:09 +10:00
Francis Go
ed20b56bec Add new line after create action on CommentsController code example 2013-09-27 16:55:06 +10:00
Yves Senn
d1a7071f15 Merge pull request #12373 from francisgo/patch-6
Getting Started Guide: post.rb -> Post [ci skip]
2013-09-26 09:02:19 -07:00
Yves Senn
3f2ebf2b06 Merge pull request #12356 from francisgo/patch-3
Getting Started Guide: posts_controller -> PostsController [ci skip]
2013-09-26 05:13:20 -07:00
Francis Go
ead0c9a7e5 Getting Started Guide: post.rb -> Post 2013-09-26 19:46:35 +10:00
Francis Go
7e31fbc4a0 Getting Started Guide: update link_to string argument to use single-quote mark, following document style [ci skip] 2013-09-26 13:37:44 +10:00
Francis Go
f2f84cdddd Getting Started Guide: posts_controller -> PostsController [ci skip] 2013-09-26 02:53:38 +10:00
Francis Go
dd66761a33 Getting Started Guide: Hello Rails! -> Hello, Rails! and wrap code tag 2013-09-25 13:19:30 +10:00
Francis Go
36bc2c40f9 Getting Started Guide: update RubyGems Guides link [ci skip] 2013-09-24 23:30:47 +10:00
Vipul A M
3c23cacb6f Fix Show link on resource 2013-09-17 09:31:10 +05:30
Rafael Mendonça França
3199b84201 Wrap the guides in 80 columns [ci skip] 2013-09-12 13:15:23 -03:00
Paul Nikitochkin
78d3c0f9d8 #11803: Move Forbidden attributes description before show post section
[ci skip]
2013-08-27 18:33:49 +03:00
Xavier Noria
b77f25cb84 cleans the guides sources from fancy non-ASCII stuff 2013-08-23 17:59:11 +02:00
Vijay Dev
9abe72c760 Merge branch 'master' of github.com:rails/docrails
Conflicts:
	actionview/README.rdoc
	activerecord/lib/active_record/migration.rb
	guides/source/development_dependencies_install.md
	guides/source/getting_started.md
2013-08-17 21:49:16 +05:30
Ryan Bigg
dba4c6fe53 [getting started] Don't define resources :posts a second time + clarify messaging around 'Showing Posts' section 2013-08-16 07:54:09 +10:00
Thiago Pinto
ea4db3bc07 guides should tell people to write ruby code, not output 2013-08-14 02:02:27 -04:00
Paul Nikitochkin
0dd76e1900 #11804: Add description of action in Getting Started Guide
[ci skip]

Closes #11804
2013-08-13 19:55:48 +03:00
Paul Nikitochkin
5602eebc63 Remove using of suffix with term. [ci skip] 2013-08-08 14:04:14 +03:00
Anton Cherepanov
043785ac7a Bump ruby version [ci skip] 2013-08-07 03:33:56 +06:00
Prathamesh Sonpatki
e2bbc2bb2a Removed confusing statements about routes in getting started guide [ci skip]
- routes for CRUD already exists as `resources :posts` is in
  `config/routes.rb`
- So we don't have to add any new route in the `config/routes.rb`
- As per #11644, the adding of routes which are already there confuses user, so here its
  changed to referring output of `rake routes`
2013-08-05 21:18:41 +05:30
Xavier Noria
538bd3633b getting started guide: pass the resource to the URL helper [ci skip]
Passing the actual ID is not idiomatic.
2013-08-05 16:18:08 +02:00
Adrien Lamothe
1c17c01626 Added to 'Security' section; especially reference to 'Ruby on Rails Security Guide'. [ci skip] 2013-08-04 01:02:01 -07:00
Rafael Mendonça França
f6a735ea05 ✂️
[ci skip]
2013-08-03 21:37:47 -03:00
Rafael Mendonça França
8ff3fe2e93 No need to abbreviate application
[ci skip]
2013-08-03 21:36:59 -03:00
Bradly Feeley
7116a473b1 Add note that you must be in the rails app directory when starting up the server.
This is a response to issue #11731 and is a common mistake for people
newer to rails that try forget to cd into the new rails app after
running rails new.
2013-08-03 16:31:23 -07:00
Paul Nikitochkin
1130896c4d Replaced quotation marks for term by apostrophe
in getting started guide for section 5.6

[ci skip]
2013-08-02 15:26:43 +03:00
Prathamesh Sonpatki
482718ffb5 Improved the doc about showing posts in getting started guide [ci skip]
- Reference #11644
2013-07-29 14:40:02 +05:30
Vijay Dev
3613235cc3 Merge branch 'master' of github.com:rails/docrails 2013-07-21 18:08:43 +05:30
Arun Agrawal
fd8890058e Guides fixed typo in index.html.erb file [ci skip] 2013-07-17 12:04:14 +02:00
blahedo
726530689e Cleaned up wording and tags.
Replaced <br /> with <br> for consistency; Added note about
singular/plural distinction (which was previously confusing to a Rails
noob); Rephrased explanation of how form is routed to controller, again
to reduce confusion; and added explanation to replace incorrect link.
[ci skip]
2013-07-06 18:36:23 -04:00
blahedo
c6009b2d0d Merged sections to reflect current contents of guide.
Section "allowing the update of fields" was now just a general
introduction to the idea of the model (actual updating was two sections
later).  So, merged into the section about validation.
2013-07-05 22:31:22 -04:00
Yves Senn
efeb03901f Merge pull request #11201 from jetthoughts/fix_create_post_example_in_getting_started
Improve Getting Started Guide
2013-07-05 03:00:46 -07:00
Paul Nikitochkin
87f249ee36 Added link to Form Helper article from getting strated [ci skip] 2013-07-04 23:28:13 +03:00
Paul Nikitochkin
24ec5697c5 Removed params permit step from 5.6 section [ci skip] 2013-06-30 22:54:19 +03:00
Yves Senn
996f9b5873 Merge pull request #11186 from jetthoughts/synchronize_create_method_body
Synchronize PostController#create code from 5.6 to others sections in Getting Started guide.
2013-06-30 06:44:03 -07:00
Paul Nikitochkin
bb8f0b401d Synchronize PostController#create code from 5.6 to others sections. [ci skip]
Fixed `permit` using for comments.
2013-06-30 13:34:11 +03:00
Paul Nikitochkin
17b01b8057 Added clarification for destroy link_to description in 5.14 [ci skip] 2013-06-30 00:33:12 +03:00
Paul Nikitochkin
9d9b4b5116 Asking user to declare post resource in guide [ci skip] 2013-06-27 22:21:29 +03:00
Jeff Rodriguez
d4dca25d9d Removed "to:" from root directive and fixed typo ":to"
`root :to` is invalid syntax
`root to:` is valid, but the generated routes file omits `to:`
2013-06-27 09:18:08 -07:00
Vijay Dev
317aaa0588 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/layout.html.erb
2013-06-26 22:57:34 +05:30
Luzi Humm
1238b5dc02 change id="errorExplanation" to id="error_explanation" to match the generated files 2013-06-25 19:07:49 -03:00
Sıtkı Bağdat
f0e4254bfa Use Colspan in th Tags
Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it?

Change repetitive th tags to use colspan attribute

Update CHANGELOG.md

Update CHANGELOG.md
2013-06-17 19:59:02 +03:00
Vipul A M
ecd48f71af Change "." to ":" for formatting purpose 2013-06-15 13:45:28 +05:30
Vijay Dev
41a398f859 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/upgrading_ruby_on_rails.md
2013-06-14 01:14:56 +05:30