ch33hau
ac85125164
[skip ci] Standardized punctuation.
2014-02-25 12:31:19 +08:00
Kuldeep Aggarwal
5ce58dbcee
[ci skip] update guides to new version of rails 3.2.x
2014-02-21 01:05:26 +05:30
Arthur Nogueira Neves
9e4c1abd3f
Merge pull request #14086 from jingweno/master
...
Fix the javascript path in guide for asset modules [skip ci]
2014-02-20 13:00:47 -05:00
Vijay Dev
b078f5ed84
Merge branch 'master' of github.com:rails/docrails
2014-02-20 22:28:37 +05:30
Jingwen Owen Ou
b7aeab6a40
[skip ci] Fix the javascript path in guide for asset modules
2014-02-20 07:37:05 -08:00
Greg Molnar
fa8d35b4eb
change 'assert !' to 'assert_not' in guides [ci skip]
2014-02-20 14:04:53 +01:00
Arun Agrawal
25ce856c3e
Pointing to latest guides [ci skip]
2014-02-19 22:59:32 +01:00
Prakash Murthy
9b3be63cca
[ci skip] Close the meta tag with '/>' instead of '>'
...
This change fixes the 42 instances of `end tag for "meta" omitted, but
OMITTAG NO was specified` error message that comes up when the full
railsguides are validated.
Full error list at
https://gist.github.com/prakashmurthy/9086679 .
2014-02-19 13:39:31 +05:30
Amit Thawait
b74490e4f2
Typo fix for unscope
2014-02-18 11:26:54 -08:00
Godfrey Chan
578839bbbd
Sync 4.1 release notes with changes since 7f648bc7 [ci skip]
2014-02-18 09:57:49 -08:00
Prem Sichanugrist
ede0f8c62d
Update upgrading guide regarding render :text
2014-02-18 12:11:41 -05: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
Rafael Mendonça França
6c496a6d2a
Merge pull request #14095 from rails/rm-scopes
...
Document `default_scope` changes
2014-02-18 14:06:29 -03:00
Rafael Mendonça França
fc641a1a5b
Don't use # =>
when it is not the expression values
...
[ci skip]
2014-02-18 13:49:31 -03:00
Rafael Mendonça França
967a6dc898
Fix the column name [ci skip]
2014-02-18 13:49:31 -03:00
Rafael Mendonça França
6370e69143
Document the default scopes change on the release notes, CHANGELOG
...
and upgrating guides
[ci skip]
2014-02-18 13:49:30 -03:00
Carlos Antonio da Silva
76fec334ee
Minor grammar/punctuation fixes [ci skip]
2014-02-18 12:50:02 -03:00
Arthur Neves
4921d39488
Doc: assets:precompile:all was removed on 4 [skip ci]
2014-02-18 10:32:05 -05:00
Rafael Mendonça França
28a0dd4de1
Aesthetic [ci skip]
2014-02-18 12:05:20 -03:00
Rafael Mendonça França
56c8242185
Tell default_scope are prepended [ci skip]
2014-02-18 11:45:35 -03:00
Rashmi Yadav
a8a7654f40
Updated doc for default scope [ci skip]
2014-02-18 11:41:22 -03:00
Carlos Antonio da Silva
c18e7ab447
Merge pull request #14087 from 10io/patch-1
...
Fix coffeescript sample [ci skip]
2014-02-17 17:41:02 -03:00
Vijay Dev
3e3ed1ede5
Merge pull request #13937 from ktaragorn/guides_fixes
...
Guides fixes
2014-02-16 19:55:36 +05:30
Dave Jachimiak
848e377a20
Add verb to sanitization note
2014-02-14 11:36:03 -05:00
tbpgr
0e19e35428
fix guide active_support_core_extensions. add Note to String#indent [ci skip]
2014-02-14 22:02:23 +09:00
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
Guillermo Iguaran
de5ef15398
Merge pull request #13945 from rails/json_cookie_serializer_improvements
...
Cookies serializer improvements
2014-02-13 09:41:13 -05:00
David Fernandez
d0b251e986
Fix coffeescript sample [ci skip]
...
Replace bind() with on() as suggested by the JQuery bind() documentation: https://api.jquery.com/bind/
2014-02-13 11:37:34 +01:00
Carlos Antonio da Silva
6d14c222dd
Merge pull request #14023 from prathamesh-sonpatki/assert_redirected_to
...
[Testing Guide] Explain usage of assert_redirected_to with named routes and ActiveRecord objects [ci skip]
2014-02-12 09:48:27 -02:00
Prathamesh Sonpatki
42b2e3276b
[Testing Guide] Explain usage of assert_redirected_to with named routes and Active Record objects [ci skip]
2014-02-12 15:49:51 +05:30
Xavier Noria
e00ab2dab9
Revert "Don't symbolize tainted data." [ci skip]
...
Reason: i18n whitelists now locales without passing through symbols,
see https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L278 .
Therefore, this snippet is no longer a good practice.
This reverts commit ec0664a6eb8906fcd31a53a1efad69bdc7fe6f5b.
2014-02-11 17:18:19 +01:00
devlin zed
ec0664a6eb
Don't symbolize tainted data.
...
`I18n.locale=` symbolizes its argument, so passing it `params[:locale]`
allows one to DOS your application by visiting `...?locale=` URLS
repeatedly, with unique values, until the never-GCed symbols monopolize
the available memory.
2014-02-11 10:44:45 -05:00
Angelo capilleri
3a0cc5c059
add patch in HTTP Verb Constraints [ci skip]
2014-02-11 16:30:47 +01: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
Godfrey Chan
0b86a6e950
Updated CHANGELOG, docs, guides and release notes.
...
Also added a `cookies_serializer.rb` initializer to the app template.
2014-02-11 02:52:07 -08:00
Godfrey Chan
b927d67dec
Renamed session_serializer option to cookies_serializer
2014-02-11 01:54:16 -08:00
Zachary Scott
5c3eda874f
Add tip about using RDoc's --pipe command to quickly test the output of
...
a piece of documentation.
This can be useful for trying out combinations of markup and code, as
discussed in rails/rails@225bcad
2014-02-10 23:29:33 -08:00
Rafael Mendonça França
488885a223
Merge pull request #14007 from kintamanimatt/missing_directory_slashes
...
Add missing directory slashes [ci skip]
2014-02-10 21:05:49 -02:00
Matthew Nicholas Bradley
67e6deea1c
Add missing directory slashes [ci skip]
2014-02-10 22:55:37 +00:00
Yves Senn
3b868cc99d
docs, link to HTTP and CGI header definitions. [ci skip]
...
This was a reaction to: https://github.com/rails/rails/pull/9700#issuecomment-34550210
2014-02-10 15:51:51 +01:00
Yves Senn
56fa194daa
docs, update broken link. [ci skip]
...
from https://github.com/rack/rack/blob/master/lib/rack/server.rb#L289-L300 .
2014-02-10 15:32:01 +01: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
Gaurish Sharma
395bcb5cfc
Rails.threadsafe!
mode is deprecated
...
[ci skip]
2014-02-10 00:53:51 +05:30
Vijay Dev
72e11abeaf
Simplify doc [ci skip]
...
The `as` option was already explained in a previous example
and doesn't need to be repeated. Explain only the `locals` option
which the example is meant for.
2014-02-09 23:58:09 +05:30
Vijay Dev
ccd908f9ce
Merge pull request #13630 from seapy/master
...
Fixed typo [ci skip]
2014-02-09 23:51:46 +05:30
Vijay Dev
8b5d08aca2
Merge pull request #13994 from elysdir/master
...
Clarifying confusing phrasing
2014-02-09 23:39:49 +05:30
Vijay Dev
92fdd65162
Merge branch 'master' of github.com:rails/docrails
...
Conflicts:
guides/source/active_record_validations.md
guides/source/api_documentation_guidelines.md
guides/source/configuring.md
2014-02-09 23:33:55 +05:30
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
Zachary Scott
ae7580ac28
Fixed a grammatical error in Booleans section of API documentation guide
...
from e1e17a5
2014-02-09 12:30:00 +01:00