rails 4.1.1 → 4.1.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/guides/CHANGELOG.md +11 -0
- data/guides/code/getting_started/Gemfile +3 -3
- data/guides/code/getting_started/Gemfile.lock +42 -43
- data/guides/code/getting_started/test/test_helper.rb +0 -3
- data/guides/source/_welcome.html.erb +5 -2
- data/guides/source/action_mailer_basics.md +3 -3
- data/guides/source/action_view_overview.md +1 -1
- data/guides/source/active_record_querying.md +4 -2
- data/guides/source/active_record_validations.md +1 -1
- data/guides/source/active_support_core_extensions.md +1 -1
- data/guides/source/api_documentation_guidelines.md +34 -0
- data/guides/source/asset_pipeline.md +6 -6
- data/guides/source/command_line.md +31 -31
- data/guides/source/configuring.md +3 -3
- data/guides/source/debugging_rails_applications.md +2 -2
- data/guides/source/engines.md +13 -13
- data/guides/source/generators.md +12 -12
- data/guides/source/getting_started.md +15 -15
- data/guides/source/i18n.md +2 -2
- data/guides/source/maintenance_policy.md +3 -3
- data/guides/source/migrations.md +17 -16
- data/guides/source/plugins.md +7 -7
- data/guides/source/rails_application_templates.md +2 -2
- data/guides/source/rails_on_rack.md +2 -2
- data/guides/source/routing.md +1 -1
- data/guides/source/testing.md +9 -14
- data/guides/source/upgrading_ruby_on_rails.md +17 -8
- metadata +41 -61
data/guides/source/plugins.md
CHANGED
@@ -39,13 +39,13 @@ to run integration tests using a dummy Rails application. Create your
|
|
39
39
|
plugin with the command:
|
40
40
|
|
41
41
|
```bash
|
42
|
-
$ rails plugin new yaffle
|
42
|
+
$ bin/rails plugin new yaffle
|
43
43
|
```
|
44
44
|
|
45
45
|
See usage and options by asking for help:
|
46
46
|
|
47
47
|
```bash
|
48
|
-
$ rails plugin --help
|
48
|
+
$ bin/rails plugin --help
|
49
49
|
```
|
50
50
|
|
51
51
|
Testing Your Newly Generated Plugin
|
@@ -124,7 +124,7 @@ To test that your method does what it says it does, run the unit tests with `rak
|
|
124
124
|
To see this in action, change to the test/dummy directory, fire up a console and start squawking:
|
125
125
|
|
126
126
|
```bash
|
127
|
-
$ rails console
|
127
|
+
$ bin/rails console
|
128
128
|
>> "Hello World".to_squawk
|
129
129
|
=> "squawk! Hello World"
|
130
130
|
```
|
@@ -214,8 +214,8 @@ test/dummy directory:
|
|
214
214
|
|
215
215
|
```bash
|
216
216
|
$ cd test/dummy
|
217
|
-
$ rails generate model Hickwall last_squawk:string
|
218
|
-
$ rails generate model Wickwall last_squawk:string last_tweet:string
|
217
|
+
$ bin/rails generate model Hickwall last_squawk:string
|
218
|
+
$ bin/rails generate model Wickwall last_squawk:string last_tweet:string
|
219
219
|
```
|
220
220
|
|
221
221
|
Now you can create the necessary database tables in your testing database by navigating to your dummy app
|
@@ -223,7 +223,7 @@ and migrating the database. First, run:
|
|
223
223
|
|
224
224
|
```bash
|
225
225
|
$ cd test/dummy
|
226
|
-
$ rake db:migrate
|
226
|
+
$ bin/rake db:migrate
|
227
227
|
```
|
228
228
|
|
229
229
|
While you are here, change the Hickwall and Wickwall models so that they know that they are supposed to act
|
@@ -433,7 +433,7 @@ Once your README is solid, go through and add rdoc comments to all of the method
|
|
433
433
|
Once your comments are good to go, navigate to your plugin directory and run:
|
434
434
|
|
435
435
|
```bash
|
436
|
-
$ rake rdoc
|
436
|
+
$ bin/rake rdoc
|
437
437
|
```
|
438
438
|
|
439
439
|
### References
|
@@ -23,8 +23,8 @@ $ rails new blog -m http://example.com/template.rb
|
|
23
23
|
You can use the rake task `rails:template` to apply templates to an existing Rails application. The location of the template needs to be passed in to an environment variable named LOCATION. Again, this can either be path to a file or a URL.
|
24
24
|
|
25
25
|
```bash
|
26
|
-
$ rake rails:template LOCATION=~/template.rb
|
27
|
-
$ rake rails:template LOCATION=http://example.com/template.rb
|
26
|
+
$ bin/rake rails:template LOCATION=~/template.rb
|
27
|
+
$ bin/rake rails:template LOCATION=http://example.com/template.rb
|
28
28
|
```
|
29
29
|
|
30
30
|
Template API
|
@@ -112,7 +112,7 @@ NOTE: `ActionDispatch::MiddlewareStack` is Rails equivalent of `Rack::Builder`,
|
|
112
112
|
Rails has a handy rake task for inspecting the middleware stack in use:
|
113
113
|
|
114
114
|
```bash
|
115
|
-
$ rake middleware
|
115
|
+
$ bin/rake middleware
|
116
116
|
```
|
117
117
|
|
118
118
|
For a freshly generated Rails application, this might produce something like:
|
@@ -195,7 +195,7 @@ And now if you inspect the middleware stack, you'll find that `Rack::Lock` is
|
|
195
195
|
not a part of it.
|
196
196
|
|
197
197
|
```bash
|
198
|
-
$ rake middleware
|
198
|
+
$ bin/rake middleware
|
199
199
|
(in /Users/lifo/Rails/blog)
|
200
200
|
use ActionDispatch::Static
|
201
201
|
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000001c304c8>
|
data/guides/source/routing.md
CHANGED
@@ -1070,7 +1070,7 @@ edit_user GET /users/:id/edit(.:format) users#edit
|
|
1070
1070
|
You may restrict the listing to the routes that map to a particular controller setting the `CONTROLLER` environment variable:
|
1071
1071
|
|
1072
1072
|
```bash
|
1073
|
-
$ CONTROLLER=users rake routes
|
1073
|
+
$ CONTROLLER=users bin/rake routes
|
1074
1074
|
```
|
1075
1075
|
|
1076
1076
|
TIP: You'll find that the output from `rake routes` is much more readable if you widen your terminal window until the output lines don't wrap.
|
data/guides/source/testing.md
CHANGED
@@ -141,7 +141,7 @@ NOTE: For more information on Rails <i>scaffolding</i>, refer to [Getting Starte
|
|
141
141
|
When you use `rails generate scaffold`, for a resource among other things it creates a test stub in the `test/models` folder:
|
142
142
|
|
143
143
|
```bash
|
144
|
-
$ rails generate scaffold post title:string body:text
|
144
|
+
$ bin/rails generate scaffold post title:string body:text
|
145
145
|
...
|
146
146
|
create app/models/post.rb
|
147
147
|
create test/models/post_test.rb
|
@@ -220,7 +220,7 @@ In order to run your tests, your test database will need to have the current str
|
|
220
220
|
Running a test is as simple as invoking the file containing the test cases through `rake test` command.
|
221
221
|
|
222
222
|
```bash
|
223
|
-
$ rake test test/models/post_test.rb
|
223
|
+
$ bin/rake test test/models/post_test.rb
|
224
224
|
.
|
225
225
|
|
226
226
|
Finished tests in 0.009262s, 107.9680 tests/s, 107.9680 assertions/s.
|
@@ -231,7 +231,7 @@ Finished tests in 0.009262s, 107.9680 tests/s, 107.9680 assertions/s.
|
|
231
231
|
You can also run a particular test method from the test case by running the test and providing the `test method name`.
|
232
232
|
|
233
233
|
```bash
|
234
|
-
$ rake test test/models/post_test.rb test_the_truth
|
234
|
+
$ bin/rake test test/models/post_test.rb test_the_truth
|
235
235
|
.
|
236
236
|
|
237
237
|
Finished tests in 0.009064s, 110.3266 tests/s, 110.3266 assertions/s.
|
@@ -255,7 +255,7 @@ end
|
|
255
255
|
Let us run this newly added test.
|
256
256
|
|
257
257
|
```bash
|
258
|
-
$ rake test test/models/post_test.rb test_should_not_save_post_without_title
|
258
|
+
$ bin/rake test test/models/post_test.rb test_should_not_save_post_without_title
|
259
259
|
F
|
260
260
|
|
261
261
|
Finished tests in 0.044632s, 22.4054 tests/s, 22.4054 assertions/s.
|
@@ -295,7 +295,7 @@ end
|
|
295
295
|
Now the test should pass. Let us verify by running the test again:
|
296
296
|
|
297
297
|
```bash
|
298
|
-
$ rake test test/models/post_test.rb test_should_not_save_post_without_title
|
298
|
+
$ bin/rake test test/models/post_test.rb test_should_not_save_post_without_title
|
299
299
|
.
|
300
300
|
|
301
301
|
Finished tests in 0.047721s, 20.9551 tests/s, 20.9551 assertions/s.
|
@@ -320,7 +320,7 @@ end
|
|
320
320
|
Now you can see even more output in the console from running the tests:
|
321
321
|
|
322
322
|
```bash
|
323
|
-
$ rake test test/models/post_test.rb test_should_report_error
|
323
|
+
$ bin/rake test test/models/post_test.rb test_should_report_error
|
324
324
|
E
|
325
325
|
|
326
326
|
Finished tests in 0.030974s, 32.2851 tests/s, 0.0000 assertions/s.
|
@@ -345,7 +345,7 @@ backtrace. simply set the `BACKTRACE` environment variable to enable this
|
|
345
345
|
behavior:
|
346
346
|
|
347
347
|
```bash
|
348
|
-
$ BACKTRACE=1 rake test test/models/post_test.rb
|
348
|
+
$ BACKTRACE=1 bin/rake test test/models/post_test.rb
|
349
349
|
```
|
350
350
|
|
351
351
|
### What to Include in Your Unit Tests
|
@@ -653,7 +653,7 @@ Integration tests are used to test the interaction among any number of controlle
|
|
653
653
|
Unlike Unit and Functional tests, integration tests have to be explicitly created under the 'test/integration' folder within your application. Rails provides a generator to create an integration test skeleton for you.
|
654
654
|
|
655
655
|
```bash
|
656
|
-
$ rails generate integration_test user_flows
|
656
|
+
$ bin/rails generate integration_test user_flows
|
657
657
|
exists test/integration/
|
658
658
|
create test/integration/user_flows_test.rb
|
659
659
|
```
|
@@ -699,8 +699,6 @@ A simple integration test that exercises multiple controllers:
|
|
699
699
|
require 'test_helper'
|
700
700
|
|
701
701
|
class UserFlowsTest < ActionDispatch::IntegrationTest
|
702
|
-
fixtures :users
|
703
|
-
|
704
702
|
test "login and browse site" do
|
705
703
|
# login via https
|
706
704
|
https!
|
@@ -727,10 +725,7 @@ Here's an example of multiple sessions and custom DSL in an integration test
|
|
727
725
|
require 'test_helper'
|
728
726
|
|
729
727
|
class UserFlowsTest < ActionDispatch::IntegrationTest
|
730
|
-
fixtures :users
|
731
|
-
|
732
728
|
test "login and browse site" do
|
733
|
-
|
734
729
|
# User david logs in
|
735
730
|
david = login(:david)
|
736
731
|
# User guest logs in
|
@@ -1011,7 +1006,7 @@ located under the `test/helpers` directory. Rails provides a generator which
|
|
1011
1006
|
generates both the helper and the test file:
|
1012
1007
|
|
1013
1008
|
```bash
|
1014
|
-
$ rails generate helper User
|
1009
|
+
$ bin/rails generate helper User
|
1015
1010
|
create app/helpers/user_helper.rb
|
1016
1011
|
invoke test_unit
|
1017
1012
|
create test/helpers/user_helper_test.rb
|
@@ -25,8 +25,6 @@ TIP: Ruby 1.8.7 p248 and p249 have marshaling bugs that crash Rails. Ruby Enterp
|
|
25
25
|
Upgrading from Rails 4.0 to Rails 4.1
|
26
26
|
-------------------------------------
|
27
27
|
|
28
|
-
NOTE: This section is a work in progress.
|
29
|
-
|
30
28
|
### CSRF protection from remote `<script>` tags
|
31
29
|
|
32
30
|
Or, "whaaat my tests are failing!!!?"
|
@@ -79,12 +77,15 @@ secrets, you need to:
|
|
79
77
|
secret_key_base:
|
80
78
|
|
81
79
|
production:
|
82
|
-
secret_key_base:
|
80
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
83
81
|
```
|
84
82
|
|
85
|
-
2.
|
86
|
-
|
87
|
-
|
83
|
+
2. Use your existing `secret_key_base` from the `secret_token.rb` initializer to
|
84
|
+
set the SECRET_KEY_BASE environment variable for whichever users run the Rails
|
85
|
+
app in production mode. Alternately, you can simply copy the existing
|
86
|
+
`secret_key_base` from the `secret_token.rb` initializer to `secrets.yml`
|
87
|
+
under the `production` section, replacing '<%= ENV["SECRET_KEY_BASE"] %>'.
|
88
|
+
|
88
89
|
3. Remove the `secret_token.rb` initializer.
|
89
90
|
|
90
91
|
4. Use `rake secret` to generate new keys for the `development` and `test` sections.
|
@@ -392,6 +393,14 @@ start using the more precise `:plain:`, `:html`, and `:body` options instead.
|
|
392
393
|
Using `render :text` may pose a security risk, as the content is sent as
|
393
394
|
`text/html`.
|
394
395
|
|
396
|
+
### PostgreSQL json and hstore datatypes
|
397
|
+
|
398
|
+
Rails 4.1 will map `json` and `hstore` columns to a string-keyed Ruby `Hash`.
|
399
|
+
In earlier versions a `HashWithIndifferentAccess` was used. This means that
|
400
|
+
symbol access is no longer supported. This is also the case for
|
401
|
+
`store_accessors` based on top of `json` or `hstore` columns. Make sure to use
|
402
|
+
string keys consistently.
|
403
|
+
|
395
404
|
Upgrading from Rails 3.2 to Rails 4.0
|
396
405
|
-------------------------------------
|
397
406
|
|
@@ -463,7 +472,7 @@ being used, you can update your form to use the `PUT` method instead:
|
|
463
472
|
<%= form_for [ :update_name, @user ], method: :put do |f| %>
|
464
473
|
```
|
465
474
|
|
466
|
-
For more on PATCH and why this change was made, see [this post](http://weblog.rubyonrails.org/2012/2/
|
475
|
+
For more on PATCH and why this change was made, see [this post](http://weblog.rubyonrails.org/2012/2/25/edge-rails-patch-is-the-new-primary-http-method-for-updates/)
|
467
476
|
on the Rails blog.
|
468
477
|
|
469
478
|
#### A note about media types
|
@@ -882,7 +891,7 @@ AppName::Application.config.session_store :cookie_store, key: 'SOMETHINGNEW'
|
|
882
891
|
or
|
883
892
|
|
884
893
|
```bash
|
885
|
-
$ rake db:sessions:clear
|
894
|
+
$ bin/rake db:sessions:clear
|
886
895
|
```
|
887
896
|
|
888
897
|
### Remove :cache and :concat options in asset helpers references in views
|
metadata
CHANGED
@@ -1,164 +1,145 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
5
|
-
prerelease:
|
4
|
+
version: 4.1.2.rc1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- David Heinemeier Hansson
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-27 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activesupport
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.1.
|
19
|
+
version: 4.1.2.rc1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 4.1.
|
26
|
+
version: 4.1.2.rc1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: actionpack
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 4.1.
|
33
|
+
version: 4.1.2.rc1
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 4.1.
|
40
|
+
version: 4.1.2.rc1
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: actionview
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - '='
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: 4.1.
|
47
|
+
version: 4.1.2.rc1
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - '='
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.1.
|
54
|
+
version: 4.1.2.rc1
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: activemodel
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - '='
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version: 4.1.
|
61
|
+
version: 4.1.2.rc1
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - '='
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version: 4.1.
|
68
|
+
version: 4.1.2.rc1
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: activerecord
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - '='
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: 4.1.
|
75
|
+
version: 4.1.2.rc1
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - '='
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: 4.1.
|
82
|
+
version: 4.1.2.rc1
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: actionmailer
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - '='
|
100
88
|
- !ruby/object:Gem::Version
|
101
|
-
version: 4.1.
|
89
|
+
version: 4.1.2.rc1
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - '='
|
108
95
|
- !ruby/object:Gem::Version
|
109
|
-
version: 4.1.
|
96
|
+
version: 4.1.2.rc1
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: railties
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - '='
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 4.1.
|
103
|
+
version: 4.1.2.rc1
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
108
|
- - '='
|
124
109
|
- !ruby/object:Gem::Version
|
125
|
-
version: 4.1.
|
110
|
+
version: 4.1.2.rc1
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: bundler
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - ">="
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: 1.3.0
|
134
|
-
- - <
|
118
|
+
- - "<"
|
135
119
|
- !ruby/object:Gem::Version
|
136
120
|
version: '2.0'
|
137
121
|
type: :runtime
|
138
122
|
prerelease: false
|
139
123
|
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
124
|
requirements:
|
142
|
-
- -
|
125
|
+
- - ">="
|
143
126
|
- !ruby/object:Gem::Version
|
144
127
|
version: 1.3.0
|
145
|
-
- - <
|
128
|
+
- - "<"
|
146
129
|
- !ruby/object:Gem::Version
|
147
130
|
version: '2.0'
|
148
131
|
- !ruby/object:Gem::Dependency
|
149
132
|
name: sprockets-rails
|
150
133
|
requirement: !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
152
134
|
requirements:
|
153
|
-
- - ~>
|
135
|
+
- - "~>"
|
154
136
|
- !ruby/object:Gem::Version
|
155
137
|
version: '2.0'
|
156
138
|
type: :runtime
|
157
139
|
prerelease: false
|
158
140
|
version_requirements: !ruby/object:Gem::Requirement
|
159
|
-
none: false
|
160
141
|
requirements:
|
161
|
-
- - ~>
|
142
|
+
- - "~>"
|
162
143
|
- !ruby/object:Gem::Version
|
163
144
|
version: '2.0'
|
164
145
|
description: Ruby on Rails is a full-stack web framework optimized for programmer
|
@@ -170,6 +151,8 @@ extensions: []
|
|
170
151
|
extra_rdoc_files: []
|
171
152
|
files:
|
172
153
|
- README.md
|
154
|
+
- guides/CHANGELOG.md
|
155
|
+
- guides/Rakefile
|
173
156
|
- guides/assets/images/akshaysurve.jpg
|
174
157
|
- guides/assets/images/belongs_to.png
|
175
158
|
- guides/assets/images/book_icon.gif
|
@@ -211,6 +194,7 @@ files:
|
|
211
194
|
- guides/assets/images/i18n/demo_translated_pirate.png
|
212
195
|
- guides/assets/images/i18n/demo_translation_missing.png
|
213
196
|
- guides/assets/images/i18n/demo_untranslated.png
|
197
|
+
- guides/assets/images/icons/README
|
214
198
|
- guides/assets/images/icons/callouts/1.png
|
215
199
|
- guides/assets/images/icons/callouts/10.png
|
216
200
|
- guides/assets/images/icons/callouts/11.png
|
@@ -233,7 +217,6 @@ files:
|
|
233
217
|
- guides/assets/images/icons/next.png
|
234
218
|
- guides/assets/images/icons/note.png
|
235
219
|
- guides/assets/images/icons/prev.png
|
236
|
-
- guides/assets/images/icons/README
|
237
220
|
- guides/assets/images/icons/tip.png
|
238
221
|
- guides/assets/images/icons/up.png
|
239
222
|
- guides/assets/images/icons/warning.png
|
@@ -256,20 +239,20 @@ files:
|
|
256
239
|
- guides/assets/javascripts/guides.js
|
257
240
|
- guides/assets/javascripts/jquery.min.js
|
258
241
|
- guides/assets/javascripts/responsive-tables.js
|
259
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
|
260
242
|
- guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js
|
243
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
|
261
244
|
- guides/assets/javascripts/syntaxhighlighter/shBrushBash.js
|
245
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
|
262
246
|
- guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js
|
263
247
|
- guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js
|
264
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
|
265
248
|
- guides/assets/javascripts/syntaxhighlighter/shBrushCss.js
|
266
249
|
- guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js
|
267
250
|
- guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js
|
268
251
|
- guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js
|
269
252
|
- guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js
|
253
|
+
- guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js
|
270
254
|
- guides/assets/javascripts/syntaxhighlighter/shBrushJava.js
|
271
255
|
- guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js
|
272
|
-
- guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js
|
273
256
|
- guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js
|
274
257
|
- guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js
|
275
258
|
- guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js
|
@@ -305,13 +288,16 @@ files:
|
|
305
288
|
- guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
|
306
289
|
- guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css
|
307
290
|
- guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css
|
308
|
-
- guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
|
309
291
|
- guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css
|
292
|
+
- guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
|
310
293
|
- guides/bug_report_templates/action_controller_gem.rb
|
311
294
|
- guides/bug_report_templates/action_controller_master.rb
|
312
295
|
- guides/bug_report_templates/active_record_gem.rb
|
313
296
|
- guides/bug_report_templates/active_record_master.rb
|
314
|
-
- guides/
|
297
|
+
- guides/code/getting_started/Gemfile
|
298
|
+
- guides/code/getting_started/Gemfile.lock
|
299
|
+
- guides/code/getting_started/README.rdoc
|
300
|
+
- guides/code/getting_started/Rakefile
|
315
301
|
- guides/code/getting_started/app/assets/javascripts/application.js
|
316
302
|
- guides/code/getting_started/app/assets/javascripts/comments.js.coffee
|
317
303
|
- guides/code/getting_started/app/assets/javascripts/posts.js.coffee
|
@@ -342,6 +328,7 @@ files:
|
|
342
328
|
- guides/code/getting_started/bin/bundle
|
343
329
|
- guides/code/getting_started/bin/rails
|
344
330
|
- guides/code/getting_started/bin/rake
|
331
|
+
- guides/code/getting_started/config.ru
|
345
332
|
- guides/code/getting_started/config/application.rb
|
346
333
|
- guides/code/getting_started/config/boot.rb
|
347
334
|
- guides/code/getting_started/config/database.yml
|
@@ -359,20 +346,15 @@ files:
|
|
359
346
|
- guides/code/getting_started/config/initializers/wrap_parameters.rb
|
360
347
|
- guides/code/getting_started/config/locales/en.yml
|
361
348
|
- guides/code/getting_started/config/routes.rb
|
362
|
-
- guides/code/getting_started/config.ru
|
363
349
|
- guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
|
364
350
|
- guides/code/getting_started/db/migrate/20130122045842_create_comments.rb
|
365
351
|
- guides/code/getting_started/db/schema.rb
|
366
352
|
- guides/code/getting_started/db/seeds.rb
|
367
|
-
- guides/code/getting_started/Gemfile
|
368
|
-
- guides/code/getting_started/Gemfile.lock
|
369
353
|
- guides/code/getting_started/public/404.html
|
370
354
|
- guides/code/getting_started/public/422.html
|
371
355
|
- guides/code/getting_started/public/500.html
|
372
356
|
- guides/code/getting_started/public/favicon.ico
|
373
357
|
- guides/code/getting_started/public/robots.txt
|
374
|
-
- guides/code/getting_started/Rakefile
|
375
|
-
- guides/code/getting_started/README.rdoc
|
376
358
|
- guides/code/getting_started/test/controllers/comments_controller_test.rb
|
377
359
|
- guides/code/getting_started/test/controllers/posts_controller_test.rb
|
378
360
|
- guides/code/getting_started/test/controllers/welcome_controller_test.rb
|
@@ -384,15 +366,14 @@ files:
|
|
384
366
|
- guides/code/getting_started/test/models/comment_test.rb
|
385
367
|
- guides/code/getting_started/test/models/post_test.rb
|
386
368
|
- guides/code/getting_started/test/test_helper.rb
|
369
|
+
- guides/rails_guides.rb
|
387
370
|
- guides/rails_guides/generator.rb
|
388
371
|
- guides/rails_guides/helpers.rb
|
389
372
|
- guides/rails_guides/indexer.rb
|
390
373
|
- guides/rails_guides/kindle.rb
|
391
374
|
- guides/rails_guides/levenshtein.rb
|
392
|
-
- guides/rails_guides/markdown/renderer.rb
|
393
375
|
- guides/rails_guides/markdown.rb
|
394
|
-
- guides/rails_guides.rb
|
395
|
-
- guides/Rakefile
|
376
|
+
- guides/rails_guides/markdown/renderer.rb
|
396
377
|
- guides/source/2_2_release_notes.md
|
397
378
|
- guides/source/2_3_release_notes.md
|
398
379
|
- guides/source/3_0_release_notes.md
|
@@ -454,26 +435,25 @@ files:
|
|
454
435
|
homepage: http://www.rubyonrails.org
|
455
436
|
licenses:
|
456
437
|
- MIT
|
438
|
+
metadata: {}
|
457
439
|
post_install_message:
|
458
440
|
rdoc_options: []
|
459
441
|
require_paths:
|
460
442
|
- lib
|
461
443
|
required_ruby_version: !ruby/object:Gem::Requirement
|
462
|
-
none: false
|
463
444
|
requirements:
|
464
|
-
- -
|
445
|
+
- - ">="
|
465
446
|
- !ruby/object:Gem::Version
|
466
447
|
version: 1.9.3
|
467
448
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
468
|
-
none: false
|
469
449
|
requirements:
|
470
|
-
- -
|
450
|
+
- - ">="
|
471
451
|
- !ruby/object:Gem::Version
|
472
452
|
version: 1.8.11
|
473
453
|
requirements: []
|
474
454
|
rubyforge_project:
|
475
|
-
rubygems_version:
|
455
|
+
rubygems_version: 2.2.2
|
476
456
|
signing_key:
|
477
|
-
specification_version:
|
457
|
+
specification_version: 4
|
478
458
|
summary: Full-stack web application framework.
|
479
459
|
test_files: []
|