cypress-on-rails 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +14 -14
  3. data/.gitignore +2 -1
  4. data/CHANGELOG.md +11 -0
  5. data/README.md +202 -48
  6. data/cypress-on-rails.gemspec +1 -1
  7. data/docs/authentication.md +30 -0
  8. data/docs/factory_bot_associations.md +14 -0
  9. data/lib/cypress_on_rails/configuration.rb +5 -0
  10. data/lib/cypress_on_rails/middleware.rb +1 -0
  11. data/lib/cypress_on_rails/railtie.rb +10 -2
  12. data/lib/cypress_on_rails/simple_rails_factory.rb +0 -2
  13. data/lib/cypress_on_rails/vcr/insert_eject_middleware.rb +75 -0
  14. data/lib/cypress_on_rails/vcr/middleware_helpers.rb +51 -0
  15. data/lib/cypress_on_rails/vcr/use_cassette_middleware.rb +56 -0
  16. data/lib/cypress_on_rails/version.rb +1 -1
  17. data/lib/generators/cypress_on_rails/install_generator.rb +31 -29
  18. data/lib/generators/cypress_on_rails/templates/config/initializers/cypress_on_rails.rb.erb +9 -1
  19. data/lib/generators/cypress_on_rails/templates/spec/cypress/support/commands.js +22 -0
  20. data/lib/generators/cypress_on_rails/templates/spec/cypress/support/on-rails.js +7 -0
  21. data/lib/generators/cypress_on_rails/templates/spec/e2e/e2e_helper.rb.erb +0 -5
  22. data/spec/cypress_on_rails/configuration_spec.rb +4 -1
  23. data/spec/cypress_on_rails/vcr/insert_eject_middleware_spec.rb +177 -0
  24. data/spec/cypress_on_rails/vcr/use_cassette_middleware_spec.rb +68 -0
  25. data/specs_e2e/rails_6_1/.gitattributes +10 -0
  26. data/specs_e2e/{rails_5_2 → rails_6_1}/.gitignore +4 -0
  27. data/specs_e2e/rails_6_1/Gemfile +20 -0
  28. data/specs_e2e/{rails_5_2 → rails_6_1}/Rakefile +1 -1
  29. data/specs_e2e/rails_6_1/app/assets/stylesheets/application.css +15 -0
  30. data/specs_e2e/rails_6_1/app/jobs/application_job.rb +7 -0
  31. data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/layouts/application.html.erb +1 -1
  32. data/specs_e2e/rails_6_1/bin/bundle +114 -0
  33. data/specs_e2e/rails_6_1/bin/rails +5 -0
  34. data/specs_e2e/rails_6_1/bin/rake +5 -0
  35. data/specs_e2e/{rails_5_2 → rails_6_1}/bin/setup +15 -4
  36. data/specs_e2e/rails_6_1/bin/spring +14 -0
  37. data/specs_e2e/rails_6_1/bin/yarn +17 -0
  38. data/specs_e2e/rails_6_1/config/application.rb +34 -0
  39. data/specs_e2e/rails_6_1/config/boot.rb +4 -0
  40. data/specs_e2e/rails_6_1/config/cable.yml +10 -0
  41. data/specs_e2e/rails_6_1/config/credentials.yml.enc +1 -0
  42. data/specs_e2e/{rails_5_2 → rails_6_1}/config/database.yml +7 -0
  43. data/specs_e2e/{rails_5_2 → rails_6_1}/config/environment.rb +1 -1
  44. data/specs_e2e/{rails_5_2 → rails_6_1}/config/environments/development.rb +22 -5
  45. data/specs_e2e/rails_6_1/config/environments/production.rb +120 -0
  46. data/specs_e2e/{rails_5_2 → rails_6_1}/config/environments/test.rb +24 -7
  47. data/specs_e2e/rails_6_1/config/initializers/backtrace_silencers.rb +8 -0
  48. data/specs_e2e/{rails_5_2 → rails_6_1}/config/initializers/content_security_policy.rb +5 -0
  49. data/specs_e2e/{rails_4_2 → rails_6_1}/config/initializers/filter_parameter_logging.rb +3 -1
  50. data/specs_e2e/rails_6_1/config/initializers/permissions_policy.rb +11 -0
  51. data/specs_e2e/{rails_3_2 → rails_6_1}/config/initializers/wrap_parameters.rb +5 -1
  52. data/specs_e2e/{rails_5_2 → rails_6_1}/config/locales/en.yml +1 -1
  53. data/specs_e2e/rails_6_1/config/master.key +1 -0
  54. data/specs_e2e/rails_6_1/config/puma.rb +43 -0
  55. data/specs_e2e/rails_6_1/config/storage.yml +34 -0
  56. data/specs_e2e/{rails_5_2 → rails_6_1}/config.ru +2 -1
  57. data/specs_e2e/{rails_5_2 → rails_6_1}/db/migrate/20180621085832_create_posts.rb +1 -1
  58. data/specs_e2e/rails_6_1/package.json +8 -0
  59. data/specs_e2e/rails_6_1/playwright-report/index.html +71 -0
  60. data/specs_e2e/rails_6_1/public/robots.txt +1 -0
  61. data/specs_e2e/rails_6_1/test-results/.last-run.json +4 -0
  62. data/specs_e2e/rails_6_1/test.sh +57 -0
  63. data/specs_e2e/rails_7_2/.gitattributes +9 -0
  64. data/specs_e2e/rails_7_2/.gitignore +16 -0
  65. data/specs_e2e/rails_7_2/.rubocop.yml +8 -0
  66. data/specs_e2e/rails_7_2/Gemfile +11 -0
  67. data/specs_e2e/{rails_4_2 → rails_7_2}/Rakefile +1 -1
  68. data/specs_e2e/rails_7_2/app/assets/stylesheets/application.css +15 -0
  69. data/specs_e2e/rails_7_2/app/controllers/application_controller.rb +4 -0
  70. data/specs_e2e/rails_7_2/app/controllers/posts_controller.rb +58 -0
  71. data/specs_e2e/rails_7_2/app/helpers/posts_helper.rb +2 -0
  72. data/specs_e2e/rails_7_2/app/jobs/application_job.rb +7 -0
  73. data/specs_e2e/rails_7_2/app/models/application_record.rb +3 -0
  74. data/specs_e2e/rails_7_2/app/models/post.rb +2 -0
  75. data/specs_e2e/rails_7_2/app/views/layouts/application.html.erb +22 -0
  76. data/specs_e2e/rails_7_2/app/views/posts/_form.html.erb +32 -0
  77. data/specs_e2e/rails_7_2/app/views/posts/edit.html.erb +6 -0
  78. data/specs_e2e/rails_7_2/app/views/posts/index.html.erb +31 -0
  79. data/specs_e2e/rails_7_2/app/views/posts/new.html.erb +5 -0
  80. data/specs_e2e/rails_7_2/app/views/posts/show.html.erb +19 -0
  81. data/specs_e2e/rails_7_2/bin/brakeman +7 -0
  82. data/specs_e2e/rails_7_2/bin/bundle +109 -0
  83. data/specs_e2e/rails_7_2/bin/importmap +4 -0
  84. data/specs_e2e/rails_7_2/bin/rails +4 -0
  85. data/specs_e2e/rails_7_2/bin/rake +4 -0
  86. data/specs_e2e/rails_7_2/bin/setup +37 -0
  87. data/specs_e2e/rails_7_2/config/application.rb +37 -0
  88. data/specs_e2e/rails_7_2/config/boot.rb +4 -0
  89. data/specs_e2e/rails_7_2/config/cable.yml +10 -0
  90. data/specs_e2e/rails_7_2/config/credentials.yml.enc +1 -0
  91. data/specs_e2e/rails_7_2/config/database.yml +32 -0
  92. data/specs_e2e/{rails_4_2 → rails_7_2}/config/environment.rb +1 -1
  93. data/specs_e2e/rails_7_2/config/environments/development.rb +54 -0
  94. data/specs_e2e/rails_7_2/config/environments/production.rb +105 -0
  95. data/specs_e2e/rails_7_2/config/environments/test.rb +45 -0
  96. data/specs_e2e/rails_7_2/config/importmap.rb +7 -0
  97. data/specs_e2e/rails_7_2/config/initializers/content_security_policy.rb +25 -0
  98. data/specs_e2e/rails_7_2/config/initializers/filter_parameter_logging.rb +8 -0
  99. data/specs_e2e/{rails_5_2 → rails_7_2}/config/initializers/inflections.rb +4 -4
  100. data/specs_e2e/rails_7_2/config/initializers/permissions_policy.rb +13 -0
  101. data/specs_e2e/rails_7_2/config/locales/en.yml +31 -0
  102. data/specs_e2e/rails_7_2/config/master.key +1 -0
  103. data/specs_e2e/rails_7_2/config/puma.rb +34 -0
  104. data/specs_e2e/rails_7_2/config/routes.rb +5 -0
  105. data/specs_e2e/rails_7_2/config/storage.yml +34 -0
  106. data/specs_e2e/{rails_4_2 → rails_7_2}/config.ru +3 -1
  107. data/specs_e2e/rails_7_2/db/migrate/20180621085832_create_posts.rb +11 -0
  108. data/specs_e2e/rails_7_2/db/seeds.rb +9 -0
  109. data/specs_e2e/rails_7_2/db/test.sqlite3-shm +0 -0
  110. data/specs_e2e/rails_7_2/db/test.sqlite3-wal +0 -0
  111. data/specs_e2e/rails_7_2/package.json +8 -0
  112. data/specs_e2e/rails_7_2/playwright-report/index.html +71 -0
  113. data/specs_e2e/{rails_4_2 → rails_7_2}/public/404.html +6 -6
  114. data/specs_e2e/rails_7_2/public/406-unsupported-browser.html +66 -0
  115. data/specs_e2e/{rails_4_2 → rails_7_2}/public/422.html +6 -6
  116. data/specs_e2e/{rails_4_2 → rails_7_2}/public/500.html +6 -6
  117. data/specs_e2e/rails_7_2/public/icon.png +0 -0
  118. data/specs_e2e/rails_7_2/public/icon.svg +3 -0
  119. data/specs_e2e/rails_7_2/public/robots.txt +1 -0
  120. data/specs_e2e/rails_7_2/storage/test.sqlite3 +0 -0
  121. data/specs_e2e/rails_7_2/test/controllers/posts_controller_test.rb +48 -0
  122. data/specs_e2e/rails_7_2/test/cypress_fixtures/posts.yml +11 -0
  123. data/specs_e2e/rails_7_2/test/fixtures/posts.yml +11 -0
  124. data/specs_e2e/rails_7_2/test/models/post_test.rb +7 -0
  125. data/specs_e2e/rails_7_2/test-results/.last-run.json +4 -0
  126. data/specs_e2e/rails_7_2/test.sh +57 -0
  127. data/specs_e2e/rails_8/.gitattributes +9 -0
  128. data/specs_e2e/rails_8/.gitignore +16 -0
  129. data/specs_e2e/rails_8/.rubocop.yml +8 -0
  130. data/specs_e2e/rails_8/Gemfile +20 -0
  131. data/specs_e2e/{rails_3_2 → rails_8}/Rakefile +2 -3
  132. data/specs_e2e/rails_8/app/assets/stylesheets/application.css +10 -0
  133. data/specs_e2e/rails_8/app/controllers/application_controller.rb +4 -0
  134. data/specs_e2e/rails_8/app/controllers/posts_controller.rb +58 -0
  135. data/specs_e2e/rails_8/app/helpers/posts_helper.rb +2 -0
  136. data/specs_e2e/rails_8/app/jobs/application_job.rb +7 -0
  137. data/specs_e2e/rails_8/app/models/application_record.rb +3 -0
  138. data/specs_e2e/rails_8/app/models/post.rb +2 -0
  139. data/specs_e2e/rails_8/app/views/layouts/application.html.erb +27 -0
  140. data/specs_e2e/rails_8/app/views/posts/_form.html.erb +32 -0
  141. data/specs_e2e/rails_8/app/views/posts/edit.html.erb +6 -0
  142. data/specs_e2e/rails_8/app/views/posts/index.html.erb +31 -0
  143. data/specs_e2e/rails_8/app/views/posts/new.html.erb +5 -0
  144. data/specs_e2e/rails_8/app/views/posts/show.html.erb +19 -0
  145. data/specs_e2e/rails_8/bin/brakeman +7 -0
  146. data/specs_e2e/rails_8/bin/bundle +109 -0
  147. data/specs_e2e/rails_8/bin/dev +2 -0
  148. data/specs_e2e/rails_8/bin/importmap +4 -0
  149. data/specs_e2e/rails_8/bin/rails +4 -0
  150. data/specs_e2e/rails_8/bin/rake +4 -0
  151. data/specs_e2e/rails_8/bin/setup +34 -0
  152. data/specs_e2e/rails_8/bin/thrust +5 -0
  153. data/specs_e2e/rails_8/config/application.rb +27 -0
  154. data/specs_e2e/rails_8/config/boot.rb +4 -0
  155. data/specs_e2e/rails_8/config/cable.yml +17 -0
  156. data/specs_e2e/rails_8/config/cache.yml +16 -0
  157. data/specs_e2e/rails_8/config/credentials.yml.enc +1 -0
  158. data/specs_e2e/rails_8/config/database.yml +41 -0
  159. data/specs_e2e/rails_8/config/deploy.yml +116 -0
  160. data/specs_e2e/rails_8/config/environment.rb +5 -0
  161. data/specs_e2e/rails_8/config/environments/development.rb +57 -0
  162. data/specs_e2e/rails_8/config/environments/production.rb +90 -0
  163. data/specs_e2e/rails_8/config/environments/test.rb +45 -0
  164. data/specs_e2e/rails_8/config/importmap.rb +7 -0
  165. data/specs_e2e/rails_8/config/initializers/content_security_policy.rb +25 -0
  166. data/specs_e2e/rails_8/config/initializers/filter_parameter_logging.rb +8 -0
  167. data/specs_e2e/rails_8/config/initializers/inflections.rb +16 -0
  168. data/specs_e2e/rails_8/config/locales/en.yml +31 -0
  169. data/specs_e2e/rails_8/config/master.key +1 -0
  170. data/specs_e2e/rails_8/config/puma.rb +41 -0
  171. data/specs_e2e/rails_8/config/queue.yml +18 -0
  172. data/specs_e2e/rails_8/config/recurring.yml +10 -0
  173. data/specs_e2e/rails_8/config/routes.rb +5 -0
  174. data/specs_e2e/rails_8/config/storage.yml +34 -0
  175. data/specs_e2e/rails_8/config.ru +6 -0
  176. data/specs_e2e/rails_8/db/cable_schema.rb +11 -0
  177. data/specs_e2e/rails_8/db/cache_schema.rb +14 -0
  178. data/specs_e2e/rails_8/db/migrate/20180621085832_create_posts.rb +11 -0
  179. data/specs_e2e/rails_8/db/queue_schema.rb +129 -0
  180. data/specs_e2e/rails_8/db/seeds.rb +9 -0
  181. data/specs_e2e/rails_8/package.json +8 -0
  182. data/specs_e2e/rails_8/playwright-report/index.html +71 -0
  183. data/specs_e2e/rails_8/public/400.html +114 -0
  184. data/specs_e2e/rails_8/public/404.html +114 -0
  185. data/specs_e2e/rails_8/public/406-unsupported-browser.html +114 -0
  186. data/specs_e2e/rails_8/public/422.html +114 -0
  187. data/specs_e2e/rails_8/public/500.html +114 -0
  188. data/specs_e2e/rails_8/public/icon.png +0 -0
  189. data/specs_e2e/rails_8/public/icon.svg +3 -0
  190. data/specs_e2e/rails_8/public/robots.txt +1 -0
  191. data/specs_e2e/rails_8/storage/test.sqlite3 +0 -0
  192. data/specs_e2e/rails_8/storage/test.sqlite3-shm +0 -0
  193. data/specs_e2e/rails_8/storage/test.sqlite3-wal +0 -0
  194. data/specs_e2e/rails_8/test/application_system_test_case.rb +5 -0
  195. data/specs_e2e/rails_8/test/controllers/posts_controller_test.rb +48 -0
  196. data/specs_e2e/rails_8/test/cypress_fixtures/posts.yml +11 -0
  197. data/specs_e2e/rails_8/test/fixtures/posts.yml +11 -0
  198. data/specs_e2e/rails_8/test/models/post_test.rb +7 -0
  199. data/specs_e2e/rails_8/test/test_helper.rb +15 -0
  200. data/specs_e2e/rails_8/test-results/.last-run.json +4 -0
  201. data/specs_e2e/{rails_5_2 → rails_8}/test.sh +17 -8
  202. metadata +221 -153
  203. data/lib/cypress_on_rails/vcr_middleware.rb +0 -73
  204. data/lib/generators/cypress_on_rails/update_generator.rb +0 -24
  205. data/spec/cypress_on_rails/vcr_middleware_spec.rb +0 -119
  206. data/specs_e2e/rails_3_2/.gitignore +0 -9
  207. data/specs_e2e/rails_3_2/.ruby_version +0 -1
  208. data/specs_e2e/rails_3_2/Gemfile +0 -7
  209. data/specs_e2e/rails_3_2/README.rdoc +0 -261
  210. data/specs_e2e/rails_3_2/app/assets/stylesheets/application.css +0 -13
  211. data/specs_e2e/rails_3_2/app/controllers/application_controller.rb +0 -3
  212. data/specs_e2e/rails_3_2/app/controllers/welcome_controller.rb +0 -4
  213. data/specs_e2e/rails_3_2/app/helpers/application_helper.rb +0 -2
  214. data/specs_e2e/rails_3_2/app/models/post.rb +0 -21
  215. data/specs_e2e/rails_3_2/app/views/layouts/application.html.erb +0 -13
  216. data/specs_e2e/rails_3_2/app/views/welcome/index.html.erb +0 -24
  217. data/specs_e2e/rails_3_2/bin/rails +0 -6
  218. data/specs_e2e/rails_3_2/config/application.rb +0 -68
  219. data/specs_e2e/rails_3_2/config/boot.rb +0 -6
  220. data/specs_e2e/rails_3_2/config/environment.rb +0 -5
  221. data/specs_e2e/rails_3_2/config/environments/development.rb +0 -31
  222. data/specs_e2e/rails_3_2/config/environments/production.rb +0 -64
  223. data/specs_e2e/rails_3_2/config/environments/test.rb +0 -35
  224. data/specs_e2e/rails_3_2/config/initializers/backtrace_silencers.rb +0 -7
  225. data/specs_e2e/rails_3_2/config/initializers/inflections.rb +0 -15
  226. data/specs_e2e/rails_3_2/config/initializers/mime_types.rb +0 -5
  227. data/specs_e2e/rails_3_2/config/initializers/secret_token.rb +0 -7
  228. data/specs_e2e/rails_3_2/config/initializers/session_store.rb +0 -8
  229. data/specs_e2e/rails_3_2/config/locales/en.yml +0 -5
  230. data/specs_e2e/rails_3_2/config/routes.rb +0 -60
  231. data/specs_e2e/rails_3_2/config.ru +0 -4
  232. data/specs_e2e/rails_3_2/public/404.html +0 -26
  233. data/specs_e2e/rails_3_2/public/422.html +0 -26
  234. data/specs_e2e/rails_3_2/public/500.html +0 -25
  235. data/specs_e2e/rails_3_2/public/robots.txt +0 -5
  236. data/specs_e2e/rails_3_2/test.sh +0 -43
  237. data/specs_e2e/rails_4_2/.gitignore +0 -11
  238. data/specs_e2e/rails_4_2/Gemfile +0 -11
  239. data/specs_e2e/rails_4_2/README.rdoc +0 -28
  240. data/specs_e2e/rails_4_2/app/assets/javascripts/using_vcr.js +0 -2
  241. data/specs_e2e/rails_4_2/app/assets/stylesheets/using_vcr.css +0 -4
  242. data/specs_e2e/rails_4_2/app/controllers/application_controller.rb +0 -5
  243. data/specs_e2e/rails_4_2/app/controllers/using_vcr_controller.rb +0 -10
  244. data/specs_e2e/rails_4_2/app/controllers/welcome_controller.rb +0 -4
  245. data/specs_e2e/rails_4_2/app/models/post.rb +0 -23
  246. data/specs_e2e/rails_4_2/app/views/layouts/application.html.erb +0 -12
  247. data/specs_e2e/rails_4_2/app/views/using_vcr/index.html.erb +0 -6
  248. data/specs_e2e/rails_4_2/app/views/using_vcr/record_cats.html.erb +0 -7
  249. data/specs_e2e/rails_4_2/app/views/welcome/index.html.erb +0 -24
  250. data/specs_e2e/rails_4_2/bin/bundle +0 -3
  251. data/specs_e2e/rails_4_2/bin/rails +0 -4
  252. data/specs_e2e/rails_4_2/bin/rake +0 -4
  253. data/specs_e2e/rails_4_2/bin/setup +0 -29
  254. data/specs_e2e/rails_4_2/config/application.rb +0 -32
  255. data/specs_e2e/rails_4_2/config/boot.rb +0 -3
  256. data/specs_e2e/rails_4_2/config/environments/development.rb +0 -25
  257. data/specs_e2e/rails_4_2/config/environments/production.rb +0 -64
  258. data/specs_e2e/rails_4_2/config/environments/test.rb +0 -42
  259. data/specs_e2e/rails_4_2/config/initializers/backtrace_silencers.rb +0 -7
  260. data/specs_e2e/rails_4_2/config/initializers/cookies_serializer.rb +0 -3
  261. data/specs_e2e/rails_4_2/config/initializers/session_store.rb +0 -3
  262. data/specs_e2e/rails_4_2/config/initializers/to_time_preserves_timezone.rb +0 -10
  263. data/specs_e2e/rails_4_2/config/initializers/wrap_parameters.rb +0 -9
  264. data/specs_e2e/rails_4_2/config/locales/en.yml +0 -23
  265. data/specs_e2e/rails_4_2/config/routes.rb +0 -61
  266. data/specs_e2e/rails_4_2/config/secrets.yml +0 -22
  267. data/specs_e2e/rails_4_2/package.json +0 -10
  268. data/specs_e2e/rails_4_2/public/favicon.ico +0 -0
  269. data/specs_e2e/rails_4_2/public/robots.txt +0 -5
  270. data/specs_e2e/rails_4_2/test.sh +0 -44
  271. data/specs_e2e/rails_5_2/Gemfile +0 -15
  272. data/specs_e2e/rails_5_2/app/assets/javascripts/posts.js +0 -2
  273. data/specs_e2e/rails_5_2/app/assets/stylesheets/posts.css +0 -4
  274. data/specs_e2e/rails_5_2/app/assets/stylesheets/scaffold.css +0 -80
  275. data/specs_e2e/rails_5_2/app/jobs/application_job.rb +0 -2
  276. data/specs_e2e/rails_5_2/app/views/welcome/index.html.erb +0 -5
  277. data/specs_e2e/rails_5_2/bin/bundle +0 -3
  278. data/specs_e2e/rails_5_2/bin/rails +0 -4
  279. data/specs_e2e/rails_5_2/bin/rake +0 -4
  280. data/specs_e2e/rails_5_2/bin/update +0 -25
  281. data/specs_e2e/rails_5_2/config/application.rb +0 -33
  282. data/specs_e2e/rails_5_2/config/boot.rb +0 -4
  283. data/specs_e2e/rails_5_2/config/credentials.yml.enc +0 -1
  284. data/specs_e2e/rails_5_2/config/environments/production.rb +0 -68
  285. data/specs_e2e/rails_5_2/config/initializers/backtrace_silencers.rb +0 -7
  286. data/specs_e2e/rails_5_2/config/initializers/filter_parameter_logging.rb +0 -4
  287. data/specs_e2e/rails_5_2/config/initializers/mime_types.rb +0 -4
  288. data/specs_e2e/rails_5_2/config/initializers/wrap_parameters.rb +0 -9
  289. data/specs_e2e/rails_5_2/config/master.key +0 -1
  290. data/specs_e2e/rails_5_2/public/favicon.ico +0 -0
  291. data/specs_e2e/rails_5_2/public/robots.txt +0 -1
  292. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/controllers/application_controller.rb +0 -0
  293. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/controllers/posts_controller.rb +0 -0
  294. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/helpers/posts_helper.rb +0 -0
  295. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/models/application_record.rb +0 -0
  296. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/models/post.rb +0 -0
  297. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/_form.html.erb +0 -0
  298. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/edit.html.erb +0 -0
  299. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/index.html.erb +0 -0
  300. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/new.html.erb +0 -0
  301. /data/specs_e2e/{rails_5_2 → rails_6_1}/app/views/posts/show.html.erb +0 -0
  302. /data/specs_e2e/{rails_5_2 → rails_6_1}/config/initializers/application_controller_renderer.rb +0 -0
  303. /data/specs_e2e/{rails_5_2 → rails_6_1}/config/initializers/cookies_serializer.rb +0 -0
  304. /data/specs_e2e/{rails_4_2 → rails_6_1}/config/initializers/inflections.rb +0 -0
  305. /data/specs_e2e/{rails_4_2 → rails_6_1}/config/initializers/mime_types.rb +0 -0
  306. /data/specs_e2e/{rails_5_2 → rails_6_1}/config/routes.rb +0 -0
  307. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/404.html +0 -0
  308. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/422.html +0 -0
  309. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/500.html +0 -0
  310. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/apple-touch-icon-precomposed.png +0 -0
  311. /data/specs_e2e/{rails_5_2 → rails_6_1}/public/apple-touch-icon.png +0 -0
  312. /data/specs_e2e/{rails_3_2 → rails_6_1}/public/favicon.ico +0 -0
  313. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/controllers/posts_controller_test.rb +0 -0
  314. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/cypress_fixtures/posts.yml +0 -0
  315. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/fixtures/posts.yml +0 -0
  316. /data/specs_e2e/{rails_5_2 → rails_6_1}/test/models/post_test.rb +0 -0
  317. /data/specs_e2e/{rails_3_2/log → rails_6_1/vendor}/.keep +0 -0
  318. /data/specs_e2e/{rails_3_2/tmp → rails_7_2/vendor}/.keep +0 -0
  319. /data/specs_e2e/{rails_4_2/spec → rails_7_2/vendor/javascript}/.keep +0 -0
  320. /data/specs_e2e/{rails_5_2 → rails_8}/README.md +0 -0
  321. /data/specs_e2e/{rails_4_2/vendor → rails_8/storage}/.keep +0 -0
  322. /data/specs_e2e/{rails_5_2 → rails_8}/vendor/.keep +0 -0
  323. /data/specs_e2e/{rails_3_2/vendor/.gitkeep → rails_8/vendor/javascript/.keep} +0 -0
@@ -1,64 +0,0 @@
1
- Rails32::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
3
-
4
- # Code is not reloaded between requests
5
- config.cache_classes = true
6
-
7
- # Full error reports are disabled and caching is turned on
8
- config.consider_all_requests_local = false
9
- config.action_controller.perform_caching = true
10
-
11
- # Disable Rails's static asset server (Apache or nginx will already do this)
12
- config.serve_static_assets = false
13
-
14
- # Compress JavaScripts and CSS
15
- config.assets.compress = true
16
-
17
- # Don't fallback to assets pipeline if a precompiled asset is missed
18
- config.assets.compile = false
19
-
20
- # Generate digests for assets URLs
21
- config.assets.digest = true
22
-
23
- # Defaults to nil and saved in location specified by config.assets.prefix
24
- # config.assets.manifest = YOUR_PATH
25
-
26
- # Specifies the header that your server uses for sending files
27
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
-
30
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
- # config.force_ssl = true
32
-
33
- # See everything in the log (default is :info)
34
- # config.log_level = :debug
35
-
36
- # Prepend all log lines with the following tags
37
- # config.log_tags = [ :subdomain, :uuid ]
38
-
39
- # Use a different logger for distributed setups
40
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
-
42
- # Use a different cache store in production
43
- # config.cache_store = :mem_cache_store
44
-
45
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
46
- # config.action_controller.asset_host = "http://assets.example.com"
47
-
48
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
49
- # config.assets.precompile += %w( search.js )
50
-
51
- # Disable delivery errors, bad email addresses will be ignored
52
- # config.action_mailer.raise_delivery_errors = false
53
-
54
- # Enable threaded mode
55
- # config.threadsafe!
56
-
57
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
- # the I18n.default_locale when a translation can not be found)
59
- config.i18n.fallbacks = true
60
-
61
- # Send deprecation notices to registered listeners
62
- config.active_support.deprecation = :notify
63
-
64
- end
@@ -1,35 +0,0 @@
1
- Rails32::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
3
-
4
- # The test environment is used exclusively to run your application's
5
- # test suite. You never need to work with it otherwise. Remember that
6
- # your test database is "scratch space" for the test suite and is wiped
7
- # and recreated between test runs. Don't rely on the data there!
8
- config.cache_classes = ENV['CI'].present?
9
-
10
- # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
12
- config.static_cache_control = "public, max-age=3600"
13
-
14
- # Log error messages when you accidentally call methods on nil
15
- config.whiny_nils = true
16
-
17
- # Show full error reports and disable caching
18
- config.consider_all_requests_local = true
19
- config.action_controller.perform_caching = false
20
-
21
- # Raise exceptions instead of rendering exception templates
22
- config.action_dispatch.show_exceptions = false
23
-
24
- # Disable request forgery protection in test environment
25
- config.action_controller.allow_forgery_protection = false
26
-
27
- # Tell Action Mailer not to deliver emails to the real world.
28
- # The :test delivery method accumulates sent emails in the
29
- # ActionMailer::Base.deliveries array.
30
- config.action_mailer.delivery_method = :test
31
-
32
-
33
- # Print deprecation notices to the stderr
34
- config.active_support.deprecation = :stderr
35
- end
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,15 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
11
- #
12
- # These inflection rules are supported but not enabled by default:
13
- # ActiveSupport::Inflector.inflections do |inflect|
14
- # inflect.acronym 'RESTful'
15
- # end
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Rails32::Application.config.secret_token = '61e5f7b99b121d3cc9287bf1843d176ba0f1212f9f4788e3939fd1c82316c7e05eb2c0aca9e9e2375d459b2b56aa890c76e81619ad6c8b84d552cd812454cab6'
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails32::Application.config.session_store :cookie_store, key: '_rails_3_2_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Rails32::Application.config.session_store :active_record_store
@@ -1,5 +0,0 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
- en:
5
- hello: "Hello world"
@@ -1,60 +0,0 @@
1
- Rails32::Application.routes.draw do
2
- root :to => 'welcome#index'
3
-
4
- # The priority is based upon order of creation:
5
- # first created -> highest priority.
6
-
7
- # Sample of regular route:
8
- # match 'products/:id' => 'catalog#view'
9
- # Keep in mind you can assign values other than :controller and :action
10
-
11
- # Sample of named route:
12
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
13
- # This route can be invoked with purchase_url(:id => product.id)
14
-
15
- # Sample resource route (maps HTTP verbs to controller actions automatically):
16
- # resources :products
17
-
18
- # Sample resource route with options:
19
- # resources :products do
20
- # member do
21
- # get 'short'
22
- # post 'toggle'
23
- # end
24
- #
25
- # collection do
26
- # get 'sold'
27
- # end
28
- # end
29
-
30
- # Sample resource route with sub-resources:
31
- # resources :products do
32
- # resources :comments, :sales
33
- # resource :seller
34
- # end
35
-
36
- # Sample resource route with more complex sub-resources
37
- # resources :products do
38
- # resources :comments
39
- # resources :sales do
40
- # get 'recent', :on => :collection
41
- # end
42
- # end
43
-
44
- # Sample resource route within a namespace:
45
- # namespace :admin do
46
- # # Directs /admin/products/* to Admin::ProductsController
47
- # # (app/controllers/admin/products_controller.rb)
48
- # resources :products
49
- # end
50
-
51
- # You can have the root of your site routed with "root"
52
- # just remember to delete public/index.html.
53
- # root :to => 'welcome#index'
54
-
55
- # See how all your routes lay out with "rake routes"
56
-
57
- # This is a legacy wild controller route that's not recommended for RESTful applications.
58
- # Note: This route will make all actions in every controller accessible via GET requests.
59
- # match ':controller(/:action(/:id))(.:format)'
60
- end
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails32::Application
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/404.html -->
21
- <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/422.html -->
21
- <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,25 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/500.html -->
21
- <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- </div>
24
- </body>
25
- </html>
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-Agent: *
5
- # Disallow: /
@@ -1,43 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -eo pipefail
3
-
4
- echo '--- testing rails 3.2'
5
-
6
- echo '-- setting environment'
7
- export DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
8
- export RAILS_ENV=test
9
- export BUNDLE_GEMFILE="$DIR/Gemfile"
10
- cd $DIR
11
-
12
- echo '-- bundle install'
13
- bundle --version
14
- bundle install --quiet --gemfile="$DIR/Gemfile" --retry 2 --path vendor/bundle
15
-
16
- echo '-- cypress install'
17
- bundle exec ./bin/rails g cypress_on_rails:install --install_cypress --install_playwright --install_with=npm
18
- rm -vf cypress/e2e/rails_examples/advance_factory_bot.cy.js
19
- rm -vf cypress/e2e/rails_examples/using_vcr.cy.js
20
-
21
- echo '-- start rails server'
22
- # make sure the server is not running
23
- (kill -9 `cat tmp/pids/server.pid` || true )
24
-
25
- bundle exec ./bin/rails server -p 5017 -e test &
26
- sleep 2 # give rails a chance to start up correctly
27
-
28
- echo '-- cypress run'
29
- cp -fv ../cypress.config.js .
30
- # if [ -z $CYPRESS_RECORD_KEY ]
31
- # then
32
- # node_modules/.bin/cypress run
33
- # else
34
- node_modules/.bin/cypress run --record
35
- # fi
36
-
37
- echo '-- playwright run'
38
- cp -fv ../playwright.config.js .
39
- npx playwright install-deps
40
- npx playwright test playwright/e2e/
41
-
42
- echo '-- stop rails server'
43
- kill -9 `cat tmp/pids/server.pid`
@@ -1,11 +0,0 @@
1
- .bundle
2
- spec/node_modules
3
- spec/cypress.config.js
4
- spec/package.json
5
- spec/yarn.lock
6
- spec/cypress
7
- config/initializers/cypress_on_rails.rb
8
- vendor/bundle
9
- tmp/pids
10
- tmp/cache
11
- log/*.*
@@ -1,11 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
4
- gem 'rails', '~> 4.2.10'
5
- gem 'sprockets', '~> 3.7.2'
6
-
7
- group :development, :test do
8
- gem 'vcr'
9
- gem 'webmock'
10
- gem 'cypress-on-rails', path: '../../'
11
- end
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.
@@ -1,4 +0,0 @@
1
- /*
2
- Place all the styles related to the matching controller here.
3
- They will automatically be included in application.css.
4
- */
@@ -1,5 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- # Prevent CSRF attacks by raising an exception.
3
- # For APIs, you may want to use :null_session instead.
4
- protect_from_forgery with: :exception
5
- end
@@ -1,10 +0,0 @@
1
- class UsingVcrController < ApplicationController
2
- def index
3
- end
4
-
5
- def record_cats
6
- uri = URI('https://cat-fact.herokuapp.com/facts')
7
- res = Net::HTTP.get_response(uri)
8
- @cat_facts = JSON.parse(res.body)
9
- end
10
- end
@@ -1,4 +0,0 @@
1
- class WelcomeController < ApplicationController
2
- def index
3
- end
4
- end
@@ -1,23 +0,0 @@
1
- class Post < OpenStruct
2
- def self.create!(attributes)
3
- create(attributes)
4
- end
5
-
6
- def self.create(attributes)
7
- @all ||= []
8
- post = new(attributes)
9
- @all << post
10
- post.id = @all.index(post)
11
- attributes['id'] = @all.index(post)
12
- attributes
13
- end
14
-
15
- def self.all
16
- @all ||= []
17
- @all
18
- end
19
-
20
- def self.delete_all
21
- @all = []
22
- end
23
- end
@@ -1,12 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Rails42X</title>
5
- <%= csrf_meta_tags %>
6
- </head>
7
- <body>
8
-
9
- <%= yield %>
10
-
11
- </body>
12
- </html>
@@ -1,6 +0,0 @@
1
- <h1>Using VCR</h1>
2
- <pre>
3
- <%= JSON.pretty_generate VCR.configuration.as_json['default_cassette_options'] %>
4
- </pre>
5
-
6
- <%= link_to 'Record Cats', { action: :record_cats } %>
@@ -1,7 +0,0 @@
1
- <h1>Record from Cats API</h1>
2
-
3
- <ul>
4
- <% @cat_facts.each do |fact| %>
5
- <li><%= fact['text'] %></li>
6
- <% end %>
7
- <ul>
@@ -1,24 +0,0 @@
1
- <h1>Posts</h1>
2
-
3
- <table>
4
- <thead>
5
- <tr>
6
- <th>Title</th>
7
- <th>Body</th>
8
- <th>Published</th>
9
- <th colspan="3"></th>
10
- </tr>
11
- </thead>
12
-
13
- <tbody>
14
- <% Post.all.each do |post| %>
15
- <tr>
16
- <td><%= post.title %></td>
17
- <td><%= post.body %></td>
18
- <td><%= post.published %></td>
19
- </tr>
20
- <% end %>
21
- </tbody>
22
- </table>
23
-
24
- <br>
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path('../../config/application', __FILE__)
3
- require_relative '../config/boot'
4
- require 'rails/commands'
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require_relative '../config/boot'
3
- require 'rake'
4
- Rake.application.run
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'pathname'
3
-
4
- # path to your application root.
5
- APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6
-
7
- Dir.chdir APP_ROOT do
8
- # This script is a starting point to setup your application.
9
- # Add necessary setup steps to this file:
10
-
11
- puts "== Installing dependencies =="
12
- system "gem install bundler --conservative"
13
- system "bundle check || bundle install"
14
-
15
- # puts "\n== Copying sample files =="
16
- # unless File.exist?("config/database.yml")
17
- # system "cp config/database.yml.sample config/database.yml"
18
- # end
19
-
20
- puts "\n== Preparing database =="
21
- system "bin/rake db:setup"
22
-
23
- puts "\n== Removing old logs and tempfiles =="
24
- system "rm -f log/*"
25
- system "rm -rf tmp/cache"
26
-
27
- puts "\n== Restarting application server =="
28
- system "touch tmp/restart.txt"
29
- end
@@ -1,32 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require "rails"
4
- # Pick the frameworks you want:
5
- require "active_model/railtie"
6
- require "active_job/railtie"
7
- # require "active_record/railtie"
8
- require "action_controller/railtie"
9
- require "action_mailer/railtie"
10
- require "action_view/railtie"
11
- # require "sprockets/railtie"
12
- # require "rails/test_unit/railtie"
13
-
14
- # Require the gems listed in Gemfile, including any gems
15
- # you've limited to :test, :development, or :production.
16
- Bundler.require(*Rails.groups)
17
-
18
- module Rails42X
19
- class Application < Rails::Application
20
- # Settings in config/environments/* take precedence over those specified here.
21
- # Application configuration should go into files in config/initializers
22
- # -- all .rb files in that directory are automatically loaded.
23
-
24
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
- # config.time_zone = 'Central Time (US & Canada)'
27
-
28
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
- # config.i18n.default_locale = :de
31
- end
32
- end
@@ -1,3 +0,0 @@
1
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2
-
3
- require 'bundler/setup' # Set up gems listed in the Gemfile.
@@ -1,25 +0,0 @@
1
- Rails.application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb.
3
-
4
- # In the development environment your application's code is reloaded on
5
- # every request. This slows down response time but is perfect for development
6
- # since you don't have to restart the web server when you make code changes.
7
- config.cache_classes = false
8
-
9
- # Do not eager load code on boot.
10
- config.eager_load = false
11
-
12
- # Show full error reports and disable caching.
13
- config.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send.
17
- config.action_mailer.raise_delivery_errors = false
18
-
19
- # Print deprecation notices to the Rails logger.
20
- config.active_support.deprecation = :log
21
-
22
-
23
- # Raises error for missing translations
24
- # config.action_view.raise_on_missing_translations = true
25
- end