| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
correct markdown usage [ci skip]
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
As discussed in #15304, we need to automate this process but for now,
having out-of-date versions is not ideal.
Since master targets 4.2.0, let's also update references to the last 4.1
version to 4.2.0.
Finally, let's remove mentions to versions when this is not needed. The
guides cover the features of the current version anyway.
[Juanito Fatas + Robin Dupret]
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix more small grammar mistakes in the [Getting Started guide](http://edgeguides.rubyonrails.org/getting_started.html#security), in sections 9 and 10.
Specifically, within sections 9.1 “Basic Authentication”, 9.2 “Other Security Considerations”, and 10 “What's Next?”.
“Rails Guides” is generally capitalized on the site, including on the linked page and in the title of the site, so I capitalized it.
“The” is not part of the name of the Ruby on Rails Security Guide – “The” is not in the title on that page.
And I added a missing period and a missing colon at the ends of two sentences.
|
|
|
|
| |
Within section 5.10 Adding Some Validation
|
|
|
|
| |
Improve consistency
|
|
|
|
|
|
|
|
| |
This application always gets out of sync and doesn't add much value.
Closes #15721
/cc @rafaelfranca
|
| |
|
|
|
| |
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]
|
|
|
| |
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]
|
| |
|
| |
|
|
|
|
| |
[ci skip]
|
| |
|
|\
| |
| | |
Follow-up to #14905 and formatting pass [ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| | |
on the Getting Started guide.
[skip ci]
Added 2 changes suggested by @robin850 [skip ci]
|
|/
|
|
|
|
|
| |
Let's tell people that they should rely on Tokaido instead of Rails One
Click.
Fixes #14960.
|
|
|
| |
[ci skip]
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
|
|
| |
in the Getting Started Guide.
This PR regroups #14817, #14818 and #14819 into one commit.
[skip ci]
|
| |
|
| |
|
|
|
|
| |
- Section references `form_tag` instead of the `form_for` used in the example
|
|
|
|
|
|
|
| |
References to ``AppName::Application` removed in favour of ``Rails.application``
as generated with a new rails 4.1 app.
[ci skip]
|
|
|
|
| |
Follow up to 024e5e31
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/
|
| |
|
|
|
|
|
| |
* Introduces `:plain`, `:html`, `:body` render option.
* Update guide to use `render :plain` instead of `render :text`.
|
|\
| |
| | |
Guides fixes
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
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
|
|/ / |
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
Write routes in route.rb with single quotes
get 'welcome/index'
instead of
get "welcome/index"
|
| |
|
|
|
|
| |
More to come.
|
|
|
|
|
| |
Last line of note also relates heavily to first part
and parenthesis broke reading flow.
|
|
|
|
|
|
| |
is pasted.
[ci skip]
|
|
|
|
| |
Closes #13566
|