factory_bot_rails 1.0.0.alpha → 4.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/NEWS +5 -2
- data/factory_bot_rails.gemspec +2 -2
- data/factory_girl_rails-4.8.0.gem +0 -0
- data/factory_girl_rails.gemspec +2 -2
- data/gemfiles/rails3.2.gemfile.lock +68 -56
- data/gemfiles/rails4.1.gemfile.lock +50 -42
- data/gemfiles/rails4.2.gemfile.lock +84 -83
- data/gemfiles/rails5.0.gemfile.lock +53 -50
- data/tmp/aruba/testapp/Gemfile +8 -3
- data/tmp/aruba/testapp/Gemfile.lock +93 -86
- data/tmp/aruba/testapp/config/initializers/application_controller_renderer.rb +6 -4
- data/tmp/aruba/testapp/config/initializers/new_framework_defaults.rb +3 -1
- data/tmp/aruba/testapp/config/secrets.yml +2 -2
- data/tmp/aruba/testapp/db/development.sqlite3 +0 -0
- data/tmp/aruba/testapp/db/test.sqlite3 +0 -0
- data/tmp/aruba/testapp/log/development.log +10 -10
- data/tmp/aruba/testapp/log/test.log +12 -12
- data/tmp/aruba/testapp/public/404.html +6 -6
- data/tmp/aruba/testapp/public/422.html +6 -6
- data/tmp/aruba/testapp/public/500.html +6 -6
- metadata +8 -8
- data/factory_bot_rails-1.0.0.gem +0 -0
@@ -1,134 +1,141 @@
|
|
1
1
|
PATH
|
2
|
-
remote: /Users/
|
2
|
+
remote: /Users/aviellewolfe/work/factories/factory_bot_rails
|
3
3
|
specs:
|
4
|
-
factory_bot_rails (
|
5
|
-
factory_bot (~>
|
4
|
+
factory_bot_rails (4.8.2)
|
5
|
+
factory_bot (~> 4.8.2)
|
6
6
|
railties (>= 3.0.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (5.0.
|
12
|
-
actionpack (= 5.0.
|
13
|
-
nio4r (
|
11
|
+
actioncable (5.0.6)
|
12
|
+
actionpack (= 5.0.6)
|
13
|
+
nio4r (>= 1.2, < 3.0)
|
14
14
|
websocket-driver (~> 0.6.1)
|
15
|
-
actionmailer (5.0.
|
16
|
-
actionpack (= 5.0.
|
17
|
-
actionview (= 5.0.
|
18
|
-
activejob (= 5.0.
|
15
|
+
actionmailer (5.0.6)
|
16
|
+
actionpack (= 5.0.6)
|
17
|
+
actionview (= 5.0.6)
|
18
|
+
activejob (= 5.0.6)
|
19
19
|
mail (~> 2.5, >= 2.5.4)
|
20
20
|
rails-dom-testing (~> 2.0)
|
21
|
-
actionpack (5.0.
|
22
|
-
actionview (= 5.0.
|
23
|
-
activesupport (= 5.0.
|
21
|
+
actionpack (5.0.6)
|
22
|
+
actionview (= 5.0.6)
|
23
|
+
activesupport (= 5.0.6)
|
24
24
|
rack (~> 2.0)
|
25
25
|
rack-test (~> 0.6.3)
|
26
26
|
rails-dom-testing (~> 2.0)
|
27
27
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
-
actionview (5.0.
|
29
|
-
activesupport (= 5.0.
|
28
|
+
actionview (5.0.6)
|
29
|
+
activesupport (= 5.0.6)
|
30
30
|
builder (~> 3.1)
|
31
31
|
erubis (~> 2.7.0)
|
32
32
|
rails-dom-testing (~> 2.0)
|
33
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
34
|
-
activejob (5.0.
|
35
|
-
activesupport (= 5.0.
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.0.6)
|
35
|
+
activesupport (= 5.0.6)
|
36
36
|
globalid (>= 0.3.6)
|
37
|
-
activemodel (5.0.
|
38
|
-
activesupport (= 5.0.
|
39
|
-
activerecord (5.0.
|
40
|
-
activemodel (= 5.0.
|
41
|
-
activesupport (= 5.0.
|
37
|
+
activemodel (5.0.6)
|
38
|
+
activesupport (= 5.0.6)
|
39
|
+
activerecord (5.0.6)
|
40
|
+
activemodel (= 5.0.6)
|
41
|
+
activesupport (= 5.0.6)
|
42
42
|
arel (~> 7.0)
|
43
|
-
activesupport (5.0.
|
43
|
+
activesupport (5.0.6)
|
44
44
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
45
45
|
i18n (~> 0.7)
|
46
46
|
minitest (~> 5.1)
|
47
47
|
tzinfo (~> 1.1)
|
48
48
|
arel (7.1.4)
|
49
|
+
bindex (0.5.0)
|
49
50
|
builder (3.2.3)
|
50
|
-
byebug (9.0
|
51
|
-
coffee-rails (4.2.
|
51
|
+
byebug (9.1.0)
|
52
|
+
coffee-rails (4.2.2)
|
52
53
|
coffee-script (>= 2.2.0)
|
53
|
-
railties (>= 4.0.0
|
54
|
+
railties (>= 4.0.0)
|
54
55
|
coffee-script (2.4.1)
|
55
56
|
coffee-script-source
|
56
57
|
execjs
|
57
58
|
coffee-script-source (1.12.2)
|
58
|
-
concurrent-ruby (1.0.
|
59
|
-
|
59
|
+
concurrent-ruby (1.0.5)
|
60
|
+
crass (1.0.2)
|
60
61
|
erubis (2.7.0)
|
61
62
|
execjs (2.7.0)
|
62
|
-
factory_bot (
|
63
|
+
factory_bot (4.8.2)
|
63
64
|
activesupport (>= 3.0.0)
|
64
|
-
ffi (1.9.
|
65
|
-
globalid (0.
|
66
|
-
activesupport (>= 4.
|
67
|
-
i18n (0.
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
65
|
+
ffi (1.9.18)
|
66
|
+
globalid (0.4.0)
|
67
|
+
activesupport (>= 4.2.0)
|
68
|
+
i18n (0.9.0)
|
69
|
+
concurrent-ruby (~> 1.0)
|
70
|
+
jbuilder (2.7.0)
|
71
|
+
activesupport (>= 4.2.0)
|
72
|
+
multi_json (>= 1.2)
|
73
|
+
jquery-rails (4.3.1)
|
72
74
|
rails-dom-testing (>= 1, < 3)
|
73
75
|
railties (>= 4.2.0)
|
74
76
|
thor (>= 0.14, < 2.0)
|
75
77
|
listen (3.0.8)
|
76
78
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
77
79
|
rb-inotify (~> 0.9, >= 0.9.7)
|
78
|
-
loofah (2.
|
80
|
+
loofah (2.1.1)
|
81
|
+
crass (~> 1.0.2)
|
79
82
|
nokogiri (>= 1.5.9)
|
80
|
-
mail (2.6.
|
83
|
+
mail (2.6.6)
|
81
84
|
mime-types (>= 1.16, < 4)
|
82
|
-
method_source (0.
|
85
|
+
method_source (0.9.0)
|
83
86
|
mime-types (3.1)
|
84
87
|
mime-types-data (~> 3.2015)
|
85
88
|
mime-types-data (3.2016.0521)
|
86
|
-
mini_portile2 (2.
|
87
|
-
minitest (5.10.
|
88
|
-
multi_json (1.12.
|
89
|
-
nio4r (
|
90
|
-
nokogiri (1.
|
91
|
-
mini_portile2 (~> 2.
|
92
|
-
power_assert (
|
93
|
-
puma (3.
|
94
|
-
rack (2.0.
|
89
|
+
mini_portile2 (2.3.0)
|
90
|
+
minitest (5.10.3)
|
91
|
+
multi_json (1.12.2)
|
92
|
+
nio4r (2.1.0)
|
93
|
+
nokogiri (1.8.1)
|
94
|
+
mini_portile2 (~> 2.3.0)
|
95
|
+
power_assert (1.1.0)
|
96
|
+
puma (3.10.0)
|
97
|
+
rack (2.0.3)
|
95
98
|
rack-test (0.6.3)
|
96
99
|
rack (>= 1.0)
|
97
|
-
rails (5.0.
|
98
|
-
actioncable (= 5.0.
|
99
|
-
actionmailer (= 5.0.
|
100
|
-
actionpack (= 5.0.
|
101
|
-
actionview (= 5.0.
|
102
|
-
activejob (= 5.0.
|
103
|
-
activemodel (= 5.0.
|
104
|
-
activerecord (= 5.0.
|
105
|
-
activesupport (= 5.0.
|
106
|
-
bundler (>= 1.3.0
|
107
|
-
railties (= 5.0.
|
100
|
+
rails (5.0.6)
|
101
|
+
actioncable (= 5.0.6)
|
102
|
+
actionmailer (= 5.0.6)
|
103
|
+
actionpack (= 5.0.6)
|
104
|
+
actionview (= 5.0.6)
|
105
|
+
activejob (= 5.0.6)
|
106
|
+
activemodel (= 5.0.6)
|
107
|
+
activerecord (= 5.0.6)
|
108
|
+
activesupport (= 5.0.6)
|
109
|
+
bundler (>= 1.3.0)
|
110
|
+
railties (= 5.0.6)
|
108
111
|
sprockets-rails (>= 2.0.0)
|
109
|
-
rails-dom-testing (2.0.
|
110
|
-
activesupport (>= 4.2.0
|
111
|
-
nokogiri (
|
112
|
+
rails-dom-testing (2.0.3)
|
113
|
+
activesupport (>= 4.2.0)
|
114
|
+
nokogiri (>= 1.6)
|
112
115
|
rails-html-sanitizer (1.0.3)
|
113
116
|
loofah (~> 2.0)
|
114
|
-
railties (5.0.
|
115
|
-
actionpack (= 5.0.
|
116
|
-
activesupport (= 5.0.
|
117
|
+
railties (5.0.6)
|
118
|
+
actionpack (= 5.0.6)
|
119
|
+
activesupport (= 5.0.6)
|
117
120
|
method_source
|
118
121
|
rake (>= 0.8.7)
|
119
122
|
thor (>= 0.18.1, < 2.0)
|
120
|
-
rake (12.
|
121
|
-
rb-fsevent (0.
|
122
|
-
rb-inotify (0.9.
|
123
|
-
ffi (>= 0.5.0)
|
124
|
-
sass (3.
|
123
|
+
rake (12.1.0)
|
124
|
+
rb-fsevent (0.10.2)
|
125
|
+
rb-inotify (0.9.10)
|
126
|
+
ffi (>= 0.5.0, < 2)
|
127
|
+
sass (3.5.2)
|
128
|
+
sass-listen (~> 4.0.0)
|
129
|
+
sass-listen (4.0.0)
|
130
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
131
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
125
132
|
sass-rails (5.0.6)
|
126
133
|
railties (>= 4.0.0, < 6)
|
127
134
|
sass (~> 3.1)
|
128
135
|
sprockets (>= 2.8, < 4.0)
|
129
136
|
sprockets-rails (>= 2.0, < 4.0)
|
130
137
|
tilt (>= 1.1, < 3)
|
131
|
-
spring (2.0.
|
138
|
+
spring (2.0.2)
|
132
139
|
activesupport (>= 4.2)
|
133
140
|
spring-watcher-listen (2.0.1)
|
134
141
|
listen (>= 2.7, < 4.0)
|
@@ -136,27 +143,27 @@ GEM
|
|
136
143
|
sprockets (3.7.1)
|
137
144
|
concurrent-ruby (~> 1.0)
|
138
145
|
rack (> 1, < 3)
|
139
|
-
sprockets-rails (3.2.
|
146
|
+
sprockets-rails (3.2.1)
|
140
147
|
actionpack (>= 4.0)
|
141
148
|
activesupport (>= 4.0)
|
142
149
|
sprockets (>= 3.0.0)
|
143
150
|
sqlite3 (1.3.13)
|
144
|
-
test-unit (3.2.
|
151
|
+
test-unit (3.2.6)
|
145
152
|
power_assert
|
146
|
-
thor (0.
|
147
|
-
thread_safe (0.3.
|
148
|
-
tilt (2.0.
|
153
|
+
thor (0.20.0)
|
154
|
+
thread_safe (0.3.6)
|
155
|
+
tilt (2.0.8)
|
149
156
|
turbolinks (5.0.1)
|
150
157
|
turbolinks-source (~> 5)
|
151
|
-
turbolinks-source (5.0.
|
152
|
-
tzinfo (1.2.
|
158
|
+
turbolinks-source (5.0.3)
|
159
|
+
tzinfo (1.2.3)
|
153
160
|
thread_safe (~> 0.1)
|
154
|
-
uglifier (3.0
|
161
|
+
uglifier (3.2.0)
|
155
162
|
execjs (>= 0.3.0, < 3)
|
156
|
-
web-console (3.
|
163
|
+
web-console (3.5.1)
|
157
164
|
actionview (>= 5.0)
|
158
165
|
activemodel (>= 5.0)
|
159
|
-
|
166
|
+
bindex (>= 0.4.0)
|
160
167
|
railties (>= 5.0)
|
161
168
|
websocket-driver (0.6.5)
|
162
169
|
websocket-extensions (>= 0.1.0)
|
@@ -173,7 +180,7 @@ DEPENDENCIES
|
|
173
180
|
jquery-rails
|
174
181
|
listen (~> 3.0.5)
|
175
182
|
puma (~> 3.0)
|
176
|
-
rails (~> 5.0.
|
183
|
+
rails (~> 5.0.6)
|
177
184
|
sass-rails (~> 5.0)
|
178
185
|
spring
|
179
186
|
spring-watcher-listen (~> 2.0.0)
|
@@ -182,7 +189,7 @@ DEPENDENCIES
|
|
182
189
|
turbolinks (~> 5)
|
183
190
|
tzinfo-data
|
184
191
|
uglifier (>= 1.3.0)
|
185
|
-
web-console
|
192
|
+
web-console (>= 3.3.0)
|
186
193
|
|
187
194
|
BUNDLED WITH
|
188
|
-
1.
|
195
|
+
1.14.6
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
3
|
+
# ActiveSupport::Reloader.to_prepare do
|
4
|
+
# ApplicationController.renderer.defaults.merge!(
|
5
|
+
# http_host: 'example.org',
|
6
|
+
# https: false
|
7
|
+
# )
|
8
|
+
# end
|
@@ -2,7 +2,9 @@
|
|
2
2
|
#
|
3
3
|
# This file contains migration options to ease your Rails 5.0 upgrade.
|
4
4
|
#
|
5
|
-
# Read the
|
5
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
6
|
+
|
7
|
+
Rails.application.config.action_controller.raise_on_unfiltered_parameters = true
|
6
8
|
|
7
9
|
# Enable per-form CSRF tokens. Previous versions had false.
|
8
10
|
Rails.application.config.action_controller.per_form_csrf_tokens = true
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: a19e561f5c347e2d43173c4b1b85474a539004d8aacefc5201e0a71552fda91589c42af194268d6fb6ce165f84a739b9b1e0e1349c2cf8352434201de6c97c8e
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: 5328d4806131351db2b8140e02f483491fe1d417a0078b6037f125bb5abfc3e29bc5b78eb2dbdf497811f63e091ef99cb134f30523c0d1140d483059b7ca5950
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
Binary file
|
Binary file
|
@@ -1,16 +1,16 @@
|
|
1
|
-
[1m[35m (1.
|
2
|
-
[1m[35m (1.
|
1
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
2
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3
3
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
4
|
Migrating to CreateUsers (1)
|
5
5
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6
6
|
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
7
7
|
|
8
|
-
class CreateUsers < ActiveRecord::Migration[4.2] (called from load at /Users/
|
9
|
-
[1m[35m (0.
|
10
|
-
[1m[35mSQL (0.
|
11
|
-
[1m[35m (0.
|
12
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key",
|
13
|
-
[1m[35m (0.
|
14
|
-
[1m[35mSQL (0.
|
15
|
-
[1m[35m (0.
|
8
|
+
class CreateUsers < ActiveRecord::Migration[4.2] (called from load at /Users/aviellewolfe/.rbenv/versions/2.3.3/bin/rake:22)
|
9
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
|
10
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "1"]]
|
11
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
12
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
13
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
14
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-10-20 22:39:36.065187"], ["updated_at", "2017-10-20 22:39:36.065187"]]
|
15
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
16
16
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
@@ -1,13 +1,13 @@
|
|
1
|
-
[1m[35m (1.
|
2
|
-
[1m[35m (
|
3
|
-
[1m[35m (0.
|
4
|
-
[1m[35m (0.
|
5
|
-
[1m[35m (0.
|
6
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
7
|
-
[1m[35m (0.
|
8
|
-
[1m[35mSQL (0.
|
9
|
-
[1m[35m (
|
10
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.
|
1
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
|
2
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
3
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
4
|
+
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (1)[0m
|
5
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
6
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
7
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-10-20 22:39:39.500460"], ["updated_at", "2017-10-20 22:39:39.500460"]]
|
9
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
10
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
11
11
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12
12
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
13
13
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
@@ -16,6 +16,6 @@
|
|
16
16
|
UserTest: test_use_factory_of_some_railtie
|
17
17
|
------------------------------------------
|
18
18
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19
|
-
[1m[35mSQL (
|
19
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "users" ("name") VALUES (?)[0m [["name", "Artem"]]
|
20
20
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
21
|
-
[1m[35m (0.
|
21
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>The page you were looking for doesn't exist (404)</title>
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
6
|
<style>
|
7
|
-
|
7
|
+
.rails-default-error-page {
|
8
8
|
background-color: #EFEFEF;
|
9
9
|
color: #2E2F30;
|
10
10
|
text-align: center;
|
@@ -12,13 +12,13 @@
|
|
12
12
|
margin: 0;
|
13
13
|
}
|
14
14
|
|
15
|
-
div.dialog {
|
15
|
+
.rails-default-error-page div.dialog {
|
16
16
|
width: 95%;
|
17
17
|
max-width: 33em;
|
18
18
|
margin: 4em auto 0;
|
19
19
|
}
|
20
20
|
|
21
|
-
div.dialog > div {
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
22
|
border: 1px solid #CCC;
|
23
23
|
border-right-color: #999;
|
24
24
|
border-left-color: #999;
|
@@ -31,13 +31,13 @@
|
|
31
31
|
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
32
|
}
|
33
33
|
|
34
|
-
h1 {
|
34
|
+
.rails-default-error-page h1 {
|
35
35
|
font-size: 100%;
|
36
36
|
color: #730E15;
|
37
37
|
line-height: 1.5em;
|
38
38
|
}
|
39
39
|
|
40
|
-
div.dialog > p {
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
41
|
margin: 0 0 1em;
|
42
42
|
padding: 1em;
|
43
43
|
background-color: #F7F7F7;
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</style>
|
55
55
|
</head>
|
56
56
|
|
57
|
-
<body>
|
57
|
+
<body class="rails-default-error-page">
|
58
58
|
<!-- This file lives in public/404.html -->
|
59
59
|
<div class="dialog">
|
60
60
|
<div>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<title>The change you wanted was rejected (422)</title>
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
6
|
<style>
|
7
|
-
|
7
|
+
.rails-default-error-page {
|
8
8
|
background-color: #EFEFEF;
|
9
9
|
color: #2E2F30;
|
10
10
|
text-align: center;
|
@@ -12,13 +12,13 @@
|
|
12
12
|
margin: 0;
|
13
13
|
}
|
14
14
|
|
15
|
-
div.dialog {
|
15
|
+
.rails-default-error-page div.dialog {
|
16
16
|
width: 95%;
|
17
17
|
max-width: 33em;
|
18
18
|
margin: 4em auto 0;
|
19
19
|
}
|
20
20
|
|
21
|
-
div.dialog > div {
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
22
|
border: 1px solid #CCC;
|
23
23
|
border-right-color: #999;
|
24
24
|
border-left-color: #999;
|
@@ -31,13 +31,13 @@
|
|
31
31
|
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
32
|
}
|
33
33
|
|
34
|
-
h1 {
|
34
|
+
.rails-default-error-page h1 {
|
35
35
|
font-size: 100%;
|
36
36
|
color: #730E15;
|
37
37
|
line-height: 1.5em;
|
38
38
|
}
|
39
39
|
|
40
|
-
div.dialog > p {
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
41
|
margin: 0 0 1em;
|
42
42
|
padding: 1em;
|
43
43
|
background-color: #F7F7F7;
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</style>
|
55
55
|
</head>
|
56
56
|
|
57
|
-
<body>
|
57
|
+
<body class="rails-default-error-page">
|
58
58
|
<!-- This file lives in public/422.html -->
|
59
59
|
<div class="dialog">
|
60
60
|
<div>
|