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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
External Garbage Collection
How to clean up your app’s trash with examples In Ruby: https://census.dev/blog/external-garbage-collection
abi2ruby gem - generate ready-to-use contract services for Ethereum & Co.
Hello, in the ongoing crypto winter programming series in ruby I added yet another gem, that is, abi2ruby that lets you generate ready-to-use (blockchain) contract services / function calls for ethereum & co. via application binary inferfaces (abis). See the abi2ruby readme for some first real-world examples. Happy blockchaining with ruby. Cheers. Prost.
Fake Time.now in production
Learn how to mimic the current time in production on a Rails server and debug your application. Discover techniques to set the time and date in production, as well as tips on how to simulate travel time. Get the most out of your Rails application in production with these helpful tips. [more inside]
Participating in programming language's evolution during interesting times
A long and personal article: about how my 2022 went in Ukraine, why I still found some time to work on Ruby programming language, and why it matters to me.
🍸 Tonic - Digital Collections framework new release!
During the last weeks new versions of Tonic have been released 🚀 (last is v0.14.3
) with some new useful features for your collection! [more inside]
RubyConf 2022 Talk Video for Building Native GUI Apps in Ruby
My RubyConf 2022 talk video on “Building Native GUI Apps in Ruby” using the Fukuoka Award Winning Glimmer DSL for LibUI has just been released! [more inside]
A Ruby Set using memory and disk (SQLite) for large sized tasks
Have a large task you need a Ruby Set for but it’s too big to fit in memory? We open sourced our hybrid Ruby Set that spills to disk using SQLite when the Set goes over a threshold: https://census.dev/blog/anansi
4 Strategies To Remove Dead Code from your Ruby App
How much does it cost you to carry dead code? How do you find and remove zombie Ruby code? [more inside]
Rubber Duck Dev Show Episode 72 | Game Development in DragonRuby With Amir Rajan
In this episode, we discuss game development using the DragonRuby 2D engine with Amir Rajan: https://www.rubberduckdevshow.com/episodes/72-dragonruby-game-development-with-amir-rajan/
abidump gem - command-line tool to dump / pretty print or (re)format abis
Hello, in the ongoing crypto winter programming series in ruby I added yet another gem, that is, abidump that ships with a command-line tool that lets you dump / pretty print or (re)format application binary interfaces (abi) for Ethereum & Co.. See the abidump readme for some first real-world examples. Happy blockchaining with ruby. Cheers. Prost.
Getting Started with Hanami and GraphQL
Ten simple steps to get started: https://lucaguidi.com/2023/02/06/getting-started-with-hanami-and-graphql/
Demystifying the Asset Pipeline
The asset pipeline can be confusing. So, in this episode, we explore Sprockets and the movement towards Propshaft, a new Rails library for managing assets. We’ll also have a look at some nuances with jsbundling and how to overcome them. https://www.driftingruby.com/episodes/demystifying-the-asset-pipeline
Rails 7. Start Kit. Release 1.5 has been published
Hello! New release of Rails 7. Start Kit is here! Release 1.5. This release introduces RSpec as a part of the project. Full list of recent changes you can find in the release list. Have an easy and happy coding!
Ruby 3.2 comprehensive changelog
The Ruby Changes (open, structured, explained, and cross-linked changelogs for Ruby) is updated to include all Ruby 3.2 changes with all the “why”s, “how”s, and links to docs and discussions!
Ruby Conferences & Camps in 2023 - What’s Upcoming? Update
Hello, I have updated the ruby conferences & camps in 2023 calendar page over at Planet Ruby. Built in ruby via github pages (jekyll) and an open datafile (in yaml) - see conferences2023.yml . What’s Upcoming? Rails Girls Rotterdam (FREE!), and more. PS:Did you know - the calendar web feed gets (automagically) syndicated on Rubyland News. Anything missing? Yes, you can. Add an upcoming ruby conference or camp. PPS: For the record I posted to r/rails too and - surprise, surprise - got censored - for what?
Credentials for Bridgetown
Bridgetown gets better with every release and along with rock solid static site features, the optional dynamic capabilities go well beyond a simple SSG. That said, your growing Bridgetown site might rely on external services and APIs at some point and managing their credentials with environment variables is tedious at best. Enter the Bridgetown Credentials plugin which implements the best parts of credentials from Rails: Commit encrypted credentials to the repo and decrypt them on the fly.
We should adopt and use new Ruby features
In the same way, words or the language (we speak) shape our thinking and our reality, programming language constructs or features shape how we define a problem and the solution that we code for that problem: [more inside]
abi2sol gem - command-line tool for abi to sol(idity) contract source code generation
Hello, in the ongoing crypto winter programming series in ruby I added yet another gem, that is, abi2sol that ships with a command-line tool that lets you generate solidity (contract) source code from application binary interface (abi) definitions (in json). Happy blockchaining with ruby. Cheers. Prost.
Q&A with Hanami+DRY+ROM core | Collecting questions for Hanami Mastery Special (#050)
We’re happy to announce, that for Episode #050 we’ll host a QA session with Hanami core team! And all of you can be a part of it! Ask your questions here! 👇 [more inside]
Deployment from Scratch with a global PPP discount
If you are from a developing country such as Philippines, you can now get my book on deploying Rails applications with a significant discount. Up to 60% for some destinations.
FormService: a PORO ServiceObjects with a state
An easy-to-implement technique that allows having validations and state objects on top of your services without changing a single line of code. https://dev.to/povilasjurcys/formservice-a-poro-serviceobjects-with-a-state-4a75
Release Management: Is Your Product Ready for Success?
You never get a second chance to make a first impression. A bad first release can ruin months of work. How do we maximize the chance of success? [more inside]