The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Real world refactoring example (after code review), where happy path is made obvious through block usage. https://medium.com/@apneadiving/organize-your-ruby-code-using-blocks-bf5902622c42
Ruby 2.7 is coming! Discover the most interesting changes in this new Ruby version & get ready for the update: https://www.rubyguides.com/2019/12/ruby-2-7-new-features/
I just published an article over on my company’s site called Working Around ActiveRecord Callbacks. In it I talk a little bit about the issues with ActiveRecord callbacks and how they don’t scale well once your app grows beyond being a “simple CRUD app”. I got on to explain a useful technique for working around troublesome callbacks when you don’t have the resources to refactor them out into service classes or some other pattern.
You can now write your software agents in any programming language you like, including Ruby of course. An agent written in Python is given as an example. You can find full documentation for this feature at Remote Agent API.
Hello, I’ve updated the rubyconf command line tool (that’s packaged up in the whatson gem / library)
and powered by event.db (that is, the eventdb gem / library). Use
$ rubyconf to print
out ongoing and upcoming ruby conferences & camps. Resulting in: [more inside]
Each open source organization receives unlimited CI/CD minutes for building public repositories on Linux, macOS or Docker. Read more →
10 years ago saw InfoEther publish a comprehensive white paper on Rails, a great ‘time capsule’. Check it out! https://dev.to/schwad/the-ruby-on-rails-whitepaper-past-rubies-288d