If you got #rubocop failing on EmptyInterpolation linter in the recent version (v1.76.0), there is good news for you. The issue got fixed - https://github.com/rubocop/rubocop/pull/14245
Software developer | "Rake Task Management Essentials" book author
If you got #rubocop failing on EmptyInterpolation linter in the recent version (v1.76.0), there is good news for you. The issue got fixed - https://github.com/rubocop/rubocop/pull/14245
The internet's full of fakes — critical thinking is survival. Surprisingly, #sociology sharpened mine. Proud to have completed this course from @UniversityofAmsterdam and highly recommend it - https://bit.ly/43P21pN
I'm happy to announce the new release of actual_db_schema happened today 🎉 - https://github.com/widefix/actual_db_schema/releases/tag/v0.8.6. No significant changes, but one bug fix you might love. Happy and productive coding, everyone! #ruby #rails #productivity
@avsej rewriting everything into Python would be a costly procedure. And it the end, I doubt the final result would be better. But having the instrument in Ruby that makes its code closer to Python is appealing. It kinda unlocks you using Python inside Ruby only in those places make sense using Python.
@avsej the line gets too long then. I believe it’s clear from the screenshot. We need another concept that would shrink the option names and expand automatically where needed. But thanks for your feedback I got an idea how to make this. If all params will be options and those decorators just decorate them it would make the trick.
Got a chance to give a shot to endless method definitions in #ruby
They look super cool!
#actual_db_schema v0.8.5 is out with a fix allowing the gem to work without git. More details are in this Reddit post: https://bit.ly/43JUI3h
thoughtbot is pausing activity on X and Meta
https://thoughtbot.com/blog/thoughtbot-is-pausing-activity-on-x-and-meta
BRAVO!
GREAT!
AMAZING MOVE!
Thank you, @thoughtbot!
ActualDbSchema v0.8.4 is out! 🎉 Fixes: initializer file breaking non-dev Rails envs & switch to prism gem for Ruby 3.4. Thanks all!
It turned out puma config had 16 threads that was too many for the setup. Decreased to 5 and now all is perfect. And yeah jemalloc also installed
@zhulik how is it connected? Is 2.7.8 known for Ruby leaks?
Meet the new release v0.8.3 of ActualDbSchema 🎉
It has UI improvements, and new functionality has been added to clean the migration versions table from broken versions.
Overview: https://bit.ly/4bpc4Ei
Check out the gem -
https://github.com/widefix/actual_db_schema
Have a productive day!
90% of the Ruby code I’ve written the past few years has been class methods without shared state. The code has clearer dependencies and is easier to read, test and maintain. OOP has its place, but I don’t think it fits the majority of web-app logic.
@solnic So true, remember myself doing something similar. I was more positive as my commits messages were "fix". It didn't help though, the fixes were almost endless 😀
Meet the next release of ActualDbSchema, featuring two great additions:
- Easily run DDL commands in Ruby directly from the Rails console.
- Trace schema.rb diffs effortlessly — a new rake task in the gem pinpoints the migration causing the diff right in your terminal.
More details here:
We’d love to hear your feedback! Thanks, and happy coding!
Cleaner Rails Controllers with before_action
https://railscraft.hashnode.dev/cleaner-rails-controllers-with-beforeaction
Discussions: https://discu.eu/q/https://railscraft.hashnode.dev/cleaner-rails-controllers-with-beforeaction