Ilja Krijger
1196bec8e0
Typo fix [ci skip]
2013-12-28 11:24:01 +01:00
Robin Dupret
a9444916ee
Ensure backward compatibility between Minitest 5 and 4
...
Define Minitest::Test in case we are running the gist under Minitest 4
and avoid relying on MiniTest::Unit::TestCase to avoid displaying
warning on version five.
[ci skip]
2013-12-27 11:30:53 +01:00
Yves Senn
aabfba7aa0
doc fix. Use sess.path
within open_session
. Closes #13490 . [ci skip]
2013-12-27 09:35:14 +01:00
Arun Agrawal
fd1c515d4d
Minitest::Unit::TestCase is Minitest::Test [ci skip]
2013-12-26 23:55:59 +01:00
Semenyk Dmitriy
46096a082f
Fixed typo [CI skip]
2013-12-27 00:28:47 +05: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
Pavel Pravosud
e1aaa2ff73
Bump Jbuilder version to 2.0.0
2013-12-20 10:35:32 -05:00
Guillermo Iguaran
d6ac7d72c5
Merge pull request #13326 from schneems/schneems/add-asset-flag
...
Flag `config.assets.raise_runtime_errors` in dev
2013-12-19 17:39:53 -08:00
schneems
2ff2f1ba52
Flag config.assets.raise_runtime_errors
in dev
...
By default `config.assets.raise_runtime_errors` should be set to `true` in development for new apps.
Source: https://github.com/rails/sprockets-rails/pull/100
2013-12-19 20:37:18 -05:00
Lauro Caetano
6de454fb05
Merge pull request #13357 from taryneast/master
...
Describe precision + scale in migrations guide
2013-12-19 14:51:39 -08:00
Taryn East
e2c17cfb2b
[ci skip] Describe precision + scale in migrations
...
Telling somebody that "precision sets the precision" is not very helpful.
Newbies want to know what precision is *for*, likewise with scale.
So I've added a very brief description for each.
2013-12-20 08:55:13 +11:00
Rafael Mendonça França
bfdae1775a
Make possible to use symbol as the verifier name
2013-12-19 17:06:40 -02:00
Xavier Noria
87fc20a4aa
revises the release notes about message verifiers (second take) [ci skip]
2013-12-19 20:01:24 +01:00
Xavier Noria
d0829f46db
Revert "revises the release notes about message verifiers [ci skip]"
...
This reverts commit 293a1a68992ba3e3e80f9f0f685e866ff79bf11a.
2013-12-19 19:59:48 +01:00
Xavier Noria
293a1a6899
revises the release notes about message verifiers [ci skip]
...
Example code does not run yet with beta1.
2013-12-19 19:58:40 +01:00
Rafael Mendonça França
33566770ee
Merge pull request #13408 from JuanitoFatas/remove-tt
...
Remove <tt> tag in 4_1_release notes. [ci skip].
2013-12-19 10:51:20 -08:00
Juanito Fatas
729f45a209
Remove <tt> tag in 4_1_release notes. [ci skip].
2013-12-20 02:43:58 +08:00
Vijay Dev
a3b1105ada
Merge branch 'master' of github.com:lifo/docrails
2013-12-20 00:10:30 +05:30
Xavier Noria
3968870d31
couple of tweaks to the release notes [ci skip]
2013-12-19 18:24:46 +01:00
Vijay Dev
4dd8b0b548
Revert "Update contributing_to_ruby_on_rails.md"
...
This reverts commit 41ba51f4850a8cd2fe69789011ac33366366d32f.
[ci skip]
2013-12-19 22:51:17 +05:30
Vijay Dev
3351c2d466
Revert "Update security.md"
...
This reverts commit f4804fafecdc057988575b4516afe9ca1d5f42fc.
[ci skip]
2013-12-19 22:51:01 +05:30
Vijay Dev
1406630b21
Revert "Fix on-site markdown rendering [ci skip]"
...
This reverts commit 427db6b9d2b35a72f3c017eb19a2e1e800b0a7a3.
[ci skip]
2013-12-19 22:50:25 +05:30
Vijay Dev
f858691744
Revert "Underscore in markdown should be escaped with backslash [ci skip]"
...
This reverts commit b58f3a641795e1777aa3e12a853c34ff512acfb9.
Reason: Discussion in b58f3a6417
[ci skip]
2013-12-19 22:50:17 +05:30
Xavier Noria
320ac8ef5a
pass over half of the release notes [ci skip]
2013-12-19 18:09:28 +01:00
Juanito Fatas
f4e744d38d
[ci skip] Remove <tt> tag in 4_1_release notes.
2013-12-19 23:53:16 +08:00
Jared Beck
813ab76788
Update configuring guide with I18n options regarding available locales
...
Add information about 'available_locales' and 'enforce_available_locales'
to the configuring guide.
Closes #13202 . [ci skip]
2013-12-19 08:14:51 -02:00
Godfrey Chan
e63748cd37
Merge pull request #13366 from vipulnsward/minitest-namespace-change
...
Change all `MiniTest` to `Minitest`
2013-12-18 19:22:30 -08:00
Sıtkı Bağdat
0add074d37
Fix typo [ci skip]
2013-12-18 12:34:45 +02:00
Godfrey Chan
8a6d40ffc3
Added a link to the Module#concerning docs from the 4.1 release notes [ci skip]
2013-12-18 01:57:36 -08:00
Vipul A M
7bae2921ec
Change all MiniTest
to Minitest
since, MiniTest
namespace has been renamed to Minitest
...
Ref: https://github.com/seattlerb/minitest/blob/master/History.txt
2013-12-18 14:39:50 +05:30
Corprew Reed
55f7c8d971
typo: should be 'DateTime.civil_from_format' and not 'DateTime.civil_from_fromat'
2013-12-17 23:18:14 -08:00
Juanito Fatas
24195d17b6
[ci skip] Prettify the removals from Action Controller in 4.1 release notes.
2013-12-18 09:15:40 +08:00
Jeremy Kemper
d3fcaba626
Mention new CSRF protection gotcha in upgrade guide
2013-12-17 15:40:11 -07:00
Jeremy Kemper
626ced225c
Discuss Action Pack's new CSRF protection from remote script tags and what it means for your app. In short, update your tests if they don't already use the 'xhr :post' style.
2013-12-17 15:20:28 -07:00
Jeremy Kemper
39ca25f5c4
Merge pull request #13345 from jeremy/get-csrf
...
CSRF protection from cross-origin <script> tags
2013-12-17 12:29:57 -08:00
Jeremy Kemper
1650bb3d56
CSRF protection from cross-origin <script> tags
...
Thanks to @homakov for sounding the alarm about JSONP-style data leaking
2013-12-17 13:14:17 -07:00
Jeremy Kemper
2b096c7170
Merge pull request #13314 from laurocaetano/blacklist_array_methods
...
Create a blacklist to disallow mutator methods to be delegated to Array
Conflicts:
guides/source/upgrading_ruby_on_rails.md
2013-12-17 11:29:23 -07:00
Yves Senn
bb0bc7a26f
Merge pull request #13346 from chancancode/release_notes_etc
...
Release notes fixes [ci skip]
2013-12-17 08:56:27 -08:00
Godfrey Chan
2003d0409e
Some assorted fixes for the 4.1 release notes:
...
* Added release notes for secrets.yml and mentioned it in the highlights
* Added release notes for Mailer previews and mentioned it in the highlights
* Added release notes for Module#concerning
* Removed mention for AV extraction from the highlights
* Rearranged the major features to put highlighted features first
* Various improvements and typo fixes
[ci skip]
2013-12-17 08:39:07 -08:00
Carlos Antonio da Silva
ae196e85ee
Merge pull request #13341 from carlosantoniodasilva/ca-i18n
...
Default I18n.enforce_available_locales to true
We will default this option to true from now on to ensure users properly handle their list of available locales whenever necessary. This option was added as a security measure and thus Rails will follow it defaulting to secure option.
Also improve the handling of I18n config options in its railtie, taking the new enforce_available_locales option into account, by setting it as the last one in the process. This ensures no other configuration will trigger a deprecation warning due to that setting.
2013-12-17 08:22:26 -08:00
Lauro Caetano
d4ee09cda1
Create a blacklist to disallow mutator methods to be delegated to Array
.
...
This change was necessary because the whitelist wouldn't work.
It would be painful for users trying to update their applications.
This blacklist intent to prevent odd bugs and confusion in code that call mutator
methods directely on the `Relation`.
2013-12-17 13:43:10 -02:00
Yves Senn
998550396f
release notes link to fixed versions of the API. [ci skip]
...
As discussed with @fxn the release notes are a snapshot document.
The links going out to the API should represent that exact snapshot.
This means we always link to the full final release. For example
the 3.2 release notes link to http://api.rubyonrails.org/v3.2.0 .
2013-12-17 12:19:56 +01:00
Carlos Antonio da Silva
8e21ae37ad
Add changelog and upgrading notice related to I18n enforce_available_locales handling
2013-12-17 09:06:56 -02:00
Yves Senn
798da61825
minor doc reword. Upgrade Rails itself not to Rails. [ci skip]
...
/cc @chancancode
2013-12-17 11:21:11 +01:00
Yves Senn
eeda62eac4
use bin/spring
in release notes. [ci skip]
...
Follow up to: 828a8f2145 (commitcomment-4879462)
This will be available after c6e25804b3
is released.
2013-12-17 09:43:19 +01:00
Rafael Mendonça França
0dea33f770
Remove the link for code.whytheluckystiff.net
...
This is not a valid URL.
[ci skip]
2013-12-16 16:57:35 -02:00
Jacob Evan Shreve
80dbcf629c
Fix url leak in application templates guide
...
Encapsulate url that was including the trailing quote and colon.
2013-12-16 13:43:50 -05:00
Ivan
e838fa068f
Added absence
parameter to pluralization table
...
Added `absence` parameter to table in section `5.1.2 Error Message Interpolation`.
2013-12-16 10:13:35 +03:00
Rafael Mendonça França
108171a44e
Merge pull request #13307 from akshay-vishnoi/typo
...
Spelling and Grammar check [ci skip]
2013-12-15 11:19:44 -08:00