rails-template icon indicating copy to clipboard operation
rails-template copied to clipboard

Application template for Rails 7 projects; preloaded with best practices for TDD, security, deployment, and developer productivity.

Results 64 rails-template issues
Sort by recently updated
recently updated
newest added

[TestProf](https://test-prof.evilmartians.io/#/) comes with a few handy things that I'd definitely appreciate as part of our default testing stack: * Sampling: It's quite handy on large test suites to do a...

[propshaft](https://github.com/rails/propshaft/tree/main) is a lighter and more modern replacement for sprockets. ### The case for making this change We use shakapacker for all CSS and JS processing so this should just...

I recently discovered there's a little bit of work required to support serving "document" assets such as PDFs via Shakapacker that allows nested file paths - effectively the config ended...

We already create a custom `Dockerfile` - we should compare it with our generated file and combine them in some sensible way.

[Rails 7.1 add msgpack serializer](https://edgeguides.rubyonrails.org/7_1_release_notes.html#add-activesupport-messagepack) which is supposedly faster. We should consider making it our default for newly generated apps.

I think it would be useful to have our pundit `ApplicationPolicy` raise an exception if `current_user` is `nil`. The pundit README has [an example of this](https://github.com/varvet/pundit#closed-systems) for what it calls...

good first issue
ready for dev
discuss

Quite often, established projects will need to implement feature flags. I've seen feature flags in two main categories: 1. Implementation switching flags - used to transition between one code path...

discuss

Modern browsers now support using SVGs for favicons - should we have a stock favicon which uses https://www.rubydoc.info/github/rails/webpacker/Webpacker/Helper:favicon_pack_tag in the generated template to encourage projects down this path and make...

Our [puma config](https://github.com/ackama/rails-template/blob/2a6e56eb33f156d606a746f6e7ec0e0d2d3d903a/variants/backend-base/config/puma.rb#L42-L48) includes: ```ruby before_fork do ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord) end on_worker_boot do ActiveRecord::Base.establish_connection if defined?(ActiveRecord) end ``` The puma docs do not mention this as being required. I haven't...

discuss

[`@import`](https://sass-lang.com/documentation/at-rules/import/) is deprecated, while [`@use`](https://sass-lang.com/documentation/at-rules/use/) is sparkly and has a number of benefits outlined on the sasslang page just linked, namely reducing the number of globally scoped members in favour...

ready for dev