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.
Zero-Downtime migrations in Rails
Often, we rename a column and deploy to find out the Honeybadger screaming at us with the errors accessing column with the old name! [more inside]
How to Test Gem Dependencies with Appraisal
If you’re building a gem or just want to test your app against multiple versions of your gem dependencies, the Appraisal gem makes this process really simple. Watch the screencast on how to use the Appraisal gem to test multiple gem dependencies and versions
Communication between multiple docker-compose projects
Hey all, learn how to make all your dokcer-compose projecto communicate to each other: https://medium.com/@matayoshi.mariano/communication-between-multiple-docker-compose-projects-d79a68af3348
Function Composition: Python vs Ruby
Learn more about Function Composition here: https://medium.com/rubycademy/function-composition-in-ruby-d9ca64f65abb
football.db Gem Family 2020.9 Update for Season 2020/21
Hello, I’ve updated the complete football.db Gem Family for Season 2020/21. The football.db gems incl. zero-config ready-to-use datasets / classes for all FIFA countries (240+), the world’s top football leagues & clubs and more. Enjoy the beautiful game with ruby. Cheers. Prost.
Glimmer DSL for Tk 0.0.5
Glimmer DSL for Tk 0.0.5 ships with Hello, Computed! having computed-value data-binding and grid geometry manager support. https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-005-hello-computed.html
Eventide Test Abstractions: Testing So Easy It Feels Like Cheating
Introducing Eventide fixtures, a test abstraction that greatly reduces the effort required to write tests by providing a set of specialized assertions that dramatically improve the ease of verifying the operation of all aspects of Eventide systems. And Eventide fixtures are just plain old Ruby objects, which can be tested like any other object. https://blog.eventide-project.org/articles/introducing-eventide-fixtures/
3 ways make private methods private in Ruby
An overview of the different ways to make class methods private in Ruby https://medium.com/rubycademy/3-ways-to-make-class-methods-private-in-ruby-64b970e54613
How to Build Blog with Ruby on Rails (Part 4)
Upload Photo for Blog application https://fullstackrubyonrails.com/blog/upload-photo-for-blog-application
Glimmer DSL for Tk 0.0.4 Hello, List! & Girb
Glimmer DSL for Tk alpha 0.0.4 has been released with the list custom widget and Girb (Glimmer IRB) https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-004-hello-list-girb.html
Conditional class opening in Ruby
Why the resolv-replace library monkey-patches the SOCKSSocket class under specific conditions.. https://medium.com/rubycademy/conditional-class-opening-in-ruby-49a4524b7f85
Glimmer DSL for Tk 0.0.3 Hello, Combo!
Glimmer DSL for Tk alpha 0.0.3 has been released! It now supports: Combo box bidirectional data-binding & Button command event binding https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-003-hello-combo.html
Ruby Jard - Just Another Ruby Debugger
Please visit https://rubyjard.org/ for more information. Ruby Jard provides a rich Terminal UI that visualizes everything your need, navigates your program with pleasure, stops at matter places only, reduces manual and mental efforts. You can now focus on real debugging.
Glimmer DSL for Tk 0.0.2 Hello, Tab!
Glimmer GUI DSL concepts have been explained in regards to how they map to the Tk imperative syntax for building desktop GUI applications. https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-002-hello-tab.html
Top 10 tips to Boost Ruby on Rails Development Performance
Ruby on Rails web development is an excellent platform for web development. Here are 10 tips that can boost the performance for Rails 6 application. https://www.botreetechnologies.com/blog/ruby-on-rails-development-performance-boosting-tips
Glimmer DSL for Tk has arrived!
Glimmer (Ruby Desktop Development GUI Library) DSL for Tk has arrived! Glimmer was originally created on top of SWT because Tk did not support native GUI widgets on Mac, Windows, and Linux back in 2007. Tk used to be more akin of Java Swing, having painted widgets that looked foreign on all platforms. Tk 8.5 changed that by supporting native widgets. Glimmer was also originally created on top of JRuby because standard Ruby did not have truly parallel multi-threading, required for desktop application development to run jobs in the background while letting the user interact with the GUI in the foreground. Upcoming Ruby 3.0 changes that by finally supporting truly parallel multi-threading via Ractor (formerly known as Ruby Guilds). https://andymaleh.blogspot.com/2020/09/glimmer-dsl-for-tk-has-arrived.html
An SMS Reminder With Ruby & A Raspberry Pi
A very modest setup for periodic SMS reminders. https://emmanuelhayford.com/building-an-sms-reminder-with-ruby-raspberry-pi/
Integrating Chargebee subscriptions and recurring billing with a Rails app
Hi everyone. I wrote a post on how to implement subscriptions and recurring payments in Rails with Chargebee. Chargebee is an awesome service with lots of features - which would take ages to build/replicate, it requires very little code (which you won’t need to touch if you change payment gateways or if some law changes), and support is excellent. It’s also totally free with the “Launch” plan until you reach 50K in revenue. link.