rails 4.0.9 → 4.0.10.rc1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7c6b840d48f9e62652fe324889e0021d7bdfa7f
4
- data.tar.gz: 296b7de13ca4d8e84bc0e041e390b9cf7fe4b93d
3
+ metadata.gz: f4fc24766cd8d2b5f10dda5f4c0f3f3ce0448f70
4
+ data.tar.gz: fbc6209a1a69cf1be628b9102b6dad943f200428
5
5
  SHA512:
6
- metadata.gz: afc8335bbdc85aa453a4965ed40f9c81b9496c8ae786842388a8df3e5b4d5773535f53844e0d58ea1ea78ab46466f12d81f35b36e9bff7a64ffd745f617d054f
7
- data.tar.gz: 15aa4097daa383a6159a1c8b7f8cbaf8fd133e5888f74d90fba546f976336ca6d175f888bf2d8aac8694937fe7d593da8fbea99fedd2bf83d1a0597730aaa197
6
+ metadata.gz: b8b6025e4c27bfb0d83b60ef1a636d9366f46d6e9011b067bb74caea6cb831d7a3255e1a363e63079b72c5b1d0db6d8b4d3f878594fe2cd89781071fb5283342
7
+ data.tar.gz: 6809f04af2c8c654cf66e9ef77391a4c30925c613b3c33b75c8afe1880ccc18e9522ece9ecb8b83c88046a7bdf43e8a981309568e63928005611dad5f0bab987
@@ -1,3 +1,8 @@
1
+ ## Rails 4.0.10 (August 19, 2014) ##
2
+
3
+ *No changes*
4
+
5
+
1
6
  ## Rails 4.0.9 (August 18, 2014) ##
2
7
 
3
8
  *No changes*
@@ -869,7 +869,7 @@ should happen, an `Array` can be used. Moreover, you can apply both `:if` and
869
869
  ```ruby
870
870
  class Computer < ActiveRecord::Base
871
871
  validates :mouse, presence: true,
872
- if: ["market.retail?", :desktop?]
872
+ if: ["market.retail?", :desktop?],
873
873
  unless: Proc.new { |c| c.trackpad.present? }
874
874
  end
875
875
  ```
@@ -360,6 +360,8 @@ The schema dumper adds one additional configuration option:
360
360
 
361
361
  The default setting is `true`, which uses the partial at `/admin/posts/_post.erb`. Setting the value to `false` would render `/posts/_post.erb`, which is the same behavior as rendering from a non-namespaced controller such as `PostsController`.
362
362
 
363
+ * `config.action_view.raise_on_missing_translations` determines whether an error should be raised for missing translations
364
+
363
365
  ### Configuring Action Mailer
364
366
 
365
367
  There are a number of settings available on `config.action_mailer`:
@@ -63,8 +63,7 @@ Creating a New Rails Project
63
63
 
64
64
  The best way to use this guide is to follow each step as it happens, no code or
65
65
  step needed to make this example application has been left out, so you can
66
- literally follow along step by step. You can get the complete code
67
- [here](https://github.com/rails/docrails/tree/master/guides/code/getting_started).
66
+ literally follow along step by step.
68
67
 
69
68
  By following along with this guide, you'll create a Rails project called
70
69
  `blog`, a
@@ -3,10 +3,29 @@ Maintenance Policy for Ruby on Rails
3
3
 
4
4
  Support of the Rails framework is divided into four groups: New features, bug
5
5
  fixes, security issues, and severe security issues. They are handled as
6
- follows, all versions in x.y.z format
6
+ follows, all versions in `X.Y.Z` format.
7
7
 
8
8
  --------------------------------------------------------------------------------
9
9
 
10
+ Rails follows a shifted version of [semver](http://semver.org/):
11
+
12
+ **Patch `Z`**
13
+
14
+ Only bug fixes, no API changes, no new features.
15
+ Except as necessary for security fixes.
16
+
17
+ **Minor `Y`**
18
+
19
+ New features, may contain API changes (Serve as major versions of Semver).
20
+ Breaking changes are paired with deprecation notices in the previous minor
21
+ or major release.
22
+
23
+ **Major `X`**
24
+
25
+ New features, will likely contain API changes. The difference between Rails'
26
+ minor and major releases is the magnitude of breaking changes, and usually
27
+ reserved for special occasions.
28
+
10
29
  New Features
11
30
  ------------
12
31
 
@@ -20,7 +39,7 @@ Only the latest release series will receive bug fixes. When enough bugs are
20
39
  fixed and its deemed worthy to release a new gem, this is the branch it happens
21
40
  from.
22
41
 
23
- **Currently included series:** 4.0.z
42
+ **Currently included series:** `4.0.Z`
24
43
 
25
44
  Security Issues
26
45
  ---------------
@@ -35,7 +54,7 @@ be built from 1.2.2, and then added to the end of 1-2-stable. This means that
35
54
  security releases are easy to upgrade to if you're running the latest version
36
55
  of Rails.
37
56
 
38
- **Currently included series:** 4.0.z, 3.2.z
57
+ **Currently included series:** `4.0.Z`, `3.2.Z`
39
58
 
40
59
  Severe Security Issues
41
60
  ----------------------
@@ -44,7 +63,7 @@ For severe security issues we will provide new versions as above, and also the
44
63
  last major release series will receive patches and new versions. The
45
64
  classification of the security issue is judged by the core team.
46
65
 
47
- **Currently included series:** 4.0.z, 3.2.z
66
+ **Currently included series:** `4.0.Z`, `3.2.Z`
48
67
 
49
68
  Unsupported Release Series
50
69
  --------------------------
@@ -3,6 +3,8 @@ A Guide for Upgrading Ruby on Rails
3
3
 
4
4
  This guide provides steps to be followed when you upgrade your applications to a newer version of Ruby on Rails. These steps are also available in individual release guides.
5
5
 
6
+ --------------------------------------------------------------------------------
7
+
6
8
  General Advice
7
9
  --------------
8
10
 
@@ -57,7 +59,10 @@ Rails 4.0 no longer supports loading plugins from `vendor/plugins`. You must rep
57
59
 
58
60
  * Rails 4.0 has changed `serialized_attributes` and `attr_readonly` to class methods only. You shouldn't use instance methods since it's now deprecated. You should change them to use class methods, e.g. `self.serialized_attributes` to `self.class.serialized_attributes`.
59
61
 
60
- * Rails 4.0 has removed `attr_accessible` and `attr_protected` feature in favor of Strong Parameters. You can use the [Protected Attributes gem](https://github.com/rails/protected_attributes) to a smoothly upgrade path.
62
+ * When using the default coder, assigning `nil` to a serialized attribute will save it
63
+ to the database as `NULL` instead of passing the `nil` value through YAML (`"--- \n...\n"`).
64
+
65
+ * Rails 4.0 has removed `attr_accessible` and `attr_protected` feature in favor of Strong Parameters. You can use the [Protected Attributes gem](https://github.com/rails/protected_attributes) for a smooth upgrade path.
61
66
 
62
67
  * If you are not using Protected Attributes, you can remove any options related to
63
68
  this gem such as `whitelist_attributes` or `mass_assignment_sanitizer` options.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.9
4
+ version: 4.0.10.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-18 00:00:00.000000000 Z
11
+ date: 2014-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,70 +16,70 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.9
19
+ version: 4.0.10.rc1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.9
26
+ version: 4.0.10.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.9
33
+ version: 4.0.10.rc1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.0.9
40
+ version: 4.0.10.rc1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 4.0.9
47
+ version: 4.0.10.rc1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 4.0.9
54
+ version: 4.0.10.rc1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: actionmailer
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.0.9
61
+ version: 4.0.10.rc1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.0.9
68
+ version: 4.0.10.rc1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: railties
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 4.0.9
75
+ version: 4.0.10.rc1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 4.0.9
82
+ version: 4.0.10.rc1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement