Splines
Splines
Yes, we can indeed run any rails commands (e.g. `rails console`) inside our "main" docker container using `docker compose exec -it ` (or `docker compose run -it ` to start...
Thanks for your support, the following modification of [this line](https://github.com/Shopify/ruby-lsp-rails/blob/23edfb1e670494159bfbf0f6316deaa74266372a/lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#L55) works for us: ```ruby stdin, stdout, stderr, wait_thread = Bundler.with_original_env do Dir.chdir("./docker/development/") do Open3.popen3("docker", "compose", "run", "--rm", "-T", '--entrypoint=""', "-v",...
Note that the feature `Jump to the declaration of a route` seems to not work inside our [`config/routes.rb`](https://github.com/MaMpf-HD/mampf/blob/main/config/routes.rb) file. Is `Ctrl + Click` supposed to work here?
Unfortunately, it fails due to the [condition](https://github.com/Shopify/ruby-lsp-rails/blob/a48b2a6a095e3f4adc03608b04d500c54d198c41/lib/ruby_lsp/ruby_lsp_rails/server.rb#L62-L63) `ActionDispatch::Routing::Mapper.respond_to?(:route_source_locations) && ActionDispatch::Routing::Mapper.route_source_locations` not being satisfied. And yes, the [line you mentioned](https://github.com/Shopify/ruby-lsp-rails/blob/23edfb1e670494159bfbf0f6316deaa74266372a/lib/ruby_lsp/ruby_lsp_rails/server.rb#L76) would probably return an incorrect path that one would have to...
Hey andyw8, thanks for pointing out the Docker extension in VSCode. Just to let you know: we ended up ignoring the info message (`Server dependent features will not be available`)...
### 🎯 Clean Architecture Ever since I've learned about "clean architecture", I fell in love with this concept and employed it in my own projects. The project structure and the...
### 📂 Folder structure In my opinion, the topic of file/folder structure is one of the most important topics to achieve a sustainable codebase. I mean, it's like the house...
### 💫 Design patterns / Refactoring We don't have to reinvent the wheel: there are many useful design patterns already out there that could be useful. But I feel like...
### â–¶ Concrete ideas on how to proceed in our codebase These are just some ideas to make models smaller, more cohesive and reduce their inter-dependency (if there is any?)....
> I personally think that using the things that Rails already offers (instead of completely overworking everything like the person in the first DDD link) would be a good way...