Commit Graph

181 Commits

Author SHA1 Message Date
Jonathan Powers
d99172e450 Update getting_started.md
It's not very clear exactly what the "params" method is and does, as the current description in the guide is somewhat vague and brief. An example is helpful, especially considering this method is referenced over 30 times in this guide. [ci skip]
2014-06-05 00:26:56 -05:00
Jonathan Powers
4316f2abed Update getting_started.md
It may be confusing to a Rails newbie why "Article" is suddenly being referred to with the "A" being capitalized. Thus far in the guide, the "a" has always been in lowercase. I think it is helpful to point out the reason for this change (especially since not using the capital "A" will result in an error). [ci skip]
2014-06-05 00:25:41 -05:00
Yves Senn
7ba6b75910 bin/setup script to bootstrap applications. 2014-05-30 11:15:56 +02:00
John Kelly Ferguson
3a480b45d6 Update all Rails 4.1.0 references in guides to 4.1.1 [ci skip] 2014-05-24 18:51:23 -04:00
Josef Šimánek
981dda53db Use generated binstubs in guides examples.
[ci skip]
2014-05-20 13:29:18 +02:00
regonn
902fef371a fix symbol 2014-05-17 22:39:49 +09:00
Robin Dupret
681fbecebd Merge pull request #14961 from jonatack/patch-7
Follow-up to #14905 and formatting pass [ci skip]
2014-05-04 20:16:22 +02:00
Jon Atack
88b7144dd3 Follow-up to #14905 and formatting pass
on the Getting Started guide.

[skip ci]

Added 2 changes suggested by @robin850 [skip ci]
2014-05-04 19:30:17 +02:00
Robin Dupret
275fdef886 Rails One Click is not maintained anymore [ci skip]
Let's tell people that they should rely on Tokaido instead of Rails One
Click.

Fixes #14960.
2014-05-04 15:31:04 +02:00
Jon Atack
0128882680 the use of ... in place >> using ... instead
[ci skip]
2014-04-30 01:05:56 +02:00
Jon Atack
f591762ccf Update the Getting Started tutorial
Update the Getting Started tutorial to clarify where and how to add
controller actions, and fix some grammar.

This PR is an improved version of #14828, #14822 and #14815.

[skip ci]
2014-04-29 16:56:43 +02:00
Jon Atack
5b56db5808 Fix run-on sentences and improve grammar [skip ci] 2014-04-22 09:40:32 +02:00
Jon Atack
1365af1836 Fix code indentation and improve formatting
in the Getting Started Guide.

This PR regroups #14817, #14818 and #14819 into one commit.

[skip ci]
2014-04-20 17:26:51 +02:00
Jon Atack
cd86201ec6 Grammar fix in Getting Started Guide 2014-04-20 12:21:28 +02:00
ZENATI YASSINE
1497529d05 [ci skip] Added link to ruby-lang.org installation. 2014-04-14 17:07:05 +02:00
Christopher Owen
0e9fab5ff5 - Fix lingering reference to :text instead of the newer :plain
- Section references `form_tag` instead of the `form_for` used in the example
2014-04-14 12:06:59 +10:00
Marcel Morgan
2ddbe87e7a Update documentation to use Rails.application instead
References to ``AppName::Application` removed in favour of ``Rails.application``
as generated with a new rails 4.1 app.

[ci skip]
2014-04-13 05:52:04 -05:00
Robin Dupret
af98176468 Remove extra white-spaces [ci skip]
Follow up to 024e5e31
2014-03-16 10:08:00 +01:00
Afshin Mokhtari
024e5e3104 Reword 5.6 strong parameters and private method stuff [ci skip] 2014-03-15 23:28:34 +00:00
Afshin Mokhtari
4d1bc027e1 Fix probs in sections 5.6 and 5.9; [ci skip] 2014-03-13 20:28:02 +00:00
Carlos Antonio da Silva
7aa500d2ed Optimize getting started guide images, and use png instead of jpg
We noticed the rails gem increased in size between the beta and rc
versions, and the reason is that some guides images were updated but not
properly optimized, and one image changed from png to jpg, way bigger.

Converting the jpg image back to png, and using ImageOptim to optimize
all the images for web view, improves the situation [ci skip].

---

In current master/4-1-stable:

    508K  guides/assets/images/getting_started/

In v4.1.0.beta1:

    268K  guides/assets/images/getting_started/

In 4-0-stable

    328K  guides/assets/images/getting_started/

After the patch:

    260K  guides/assets/images/getting_started/
2014-02-25 09:49:42 -03:00
Carlos Antonio da Silva
c023a6f8c1 ✂️ [ci skip] 2014-02-25 09:20:30 -03:00
Prem Sichanugrist
76be30fe40 Update guides for new rendering options
* Introduces `:plain`, `:html`, `:body` render option.
* Update guide to use `render :plain` instead of `render :text`.
2014-02-18 12:11:41 -05:00
Vijay Dev
3e3ed1ede5 Merge pull request #13937 from ktaragorn/guides_fixes
Guides fixes
2014-02-16 19:55:36 +05:30
Karthik T
8e6d0fd434 Getting started guide fixes & Explain X-SendFile a little better, with links
Explain how form_for :article is able to pull in the properties of @article
Make it clear that article_id is generated due to the association set up

Add link to the rails function that uses X-Sendfile.
Add links to apache and nginx docs for the header
2014-02-14 11:46:11 +08:00
Vijay Dev
888386ac13 Merge pull request #13571 from bak/getting_started_guide
A pass over the Getting Started guide sections 1, 2, and 3 [ci skip]
2014-02-11 17:49:01 +05:30
Matthew Nicholas Bradley
67e6deea1c Add missing directory slashes [ci skip] 2014-02-10 22:55:37 +00:00
Ben Cullen-Kerney
2868bab4df A pass over the Getting Started guide sections 1, 2, and 3 [ci skip]
* Add note about managing Ruby environments
* Point to curated lists of Ruby learning resources
* Expound on DRY and Convention over Configuration
* Remove note on superuser--thankfuly coders new to Rails don't have to sudo anymore :)
* Installation/verification instructions for SQLite3, since it's a dependency
2014-02-09 12:05:17 -08:00
Jed Hartman
f25e41167d Clarifying confusing phrasing 2014-02-09 09:36:53 -08:00
Zachary Scott
a503444429 Remove end of line whitespace from bb87c16 2014-02-09 14:06:06 +01:00
Matthew Nicholas Bradley
bb87c16ad9 Fix wordy sentence 2014-02-07 14:03:39 +00:00
Yves Senn
c46b0d1023 docs, reference to ruby-lang.org. refs #13492. [ci skip] 2014-02-03 12:01:32 +01:00
Yves Senn
d4d041c1fe fix typo and indent. [ci skip] 2014-01-30 17:40:28 +01:00
Prathamesh Sonpatki
08bbe5dc2e Replace Post with Article in getting started guide [ci skip]
- Used Article model instead of Post as it may confuse with 'post'
  requests
- Tried to wrap the guide to 80 chars lines as much as possible.
- Removed unused image
- Fixes #13764
2014-01-25 22:34:31 +05:30
Cristian Mircea Messel
9cdc7c0614 single quotes for controller generated routes
Write routes in route.rb with single quotes

    get 'welcome/index'

instead of

    get "welcome/index"
2014-01-14 09:31:51 +02:00
Xavier Noria
e992cd4d91 updates screenshot data [ci skip] 2014-01-13 23:32:04 +01:00
Xavier Noria
7524a9166c revises a few things in the getting started guide [ci skip]
More to come.
2014-01-13 23:11:44 +01:00
Soon Van
44473e49a8 Ruby is a proper noun here, not part of code fragment [ci skip]
Last line of note also relates heavily to first part
and parenthesis broke reading flow.
2014-01-05 18:42:14 -05:00
Mo Omer
6fc59d38d8 Removed elipsis indicating that the reader should have more code than what is pasted.
[ci skip]
2014-01-01 19:00:57 -02:00
Rafael Mendonça França
0b4905d0d5 Make explicit that the view file need to be created [ci skip]
Closes #13566
2014-01-01 18:57:18 -02:00
Rafael Mendonça França
a7094f5c88 Do not highlight rake routes output as ruby code [ci skip]
Closes #13565
2014-01-01 18:54:55 -02:00
Juanito Fatas
b58c8d36b7 [ci skip] Update getting started Ruby version. 2013-12-24 20:33:23 +08:00
Juanito Fatas
7c09ac7104 [ci skip] a destroy action in controller, not delete [getting_stated.md]. 2013-12-24 01:45:15 +08:00
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