|
32 | 32 | # backends that use the same database as Active Record as a queue, hence they |
33 | 33 | # don't need this feature. |
34 | 34 | #++ |
35 | | -# Rails.application.config.active_job.enqueue_after_transaction_commit = :default |
| 35 | +Rails.application.config.active_job.enqueue_after_transaction_commit = :default |
36 | 36 |
|
37 | 37 | ### |
38 | 38 | # Adds image/webp to the list of content types Active Storage considers as an image |
39 | 39 | # Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png. |
40 | 40 | # This is possible due to broad browser support for WebP, but older browsers and email clients may still not support |
41 | 41 | # WebP. Requires imagemagick/libvips built with WebP support. |
42 | 42 | #++ |
43 | | -# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp] |
| 43 | +Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp] |
44 | 44 |
|
45 | 45 | ### |
46 | 46 | # Enable validation of migration timestamps. When set, an ActiveRecord::InvalidMigrationTimestampError |
|
51 | 51 | # Applications with existing timestamped migrations that do not adhere to the |
52 | 52 | # expected format can disable validation by setting this config to `false`. |
53 | 53 | #++ |
54 | | -# Rails.application.config.active_record.validate_migration_timestamps = true |
| 54 | +Rails.application.config.active_record.validate_migration_timestamps = true |
55 | 55 |
|
56 | 56 | ### |
57 | 57 | # Controls whether the PostgresqlAdapter should decode dates automatically with manual queries. |
|
61 | 61 | # |
62 | 62 | # This query used to return a `String`. |
63 | 63 | #++ |
64 | | -# Rails.application.config.active_record.postgresql_adapter_decode_dates = true |
| 64 | +Rails.application.config.active_record.postgresql_adapter_decode_dates = true |
65 | 65 |
|
66 | 66 | ### |
67 | 67 | # Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are |
68 | 68 | # deploying to a memory constrained environment you may want to set this to `false`. |
69 | 69 | #++ |
70 | | -# Rails.application.config.yjit = true |
| 70 | +Rails.application.config.yjit = true |
0 commit comments