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.
Rails API: be nice to your clients
A collection of tips and tricks (with code!) to write smart and nice APIs in Ruby on Rails. [more inside]
Truemail 2.0.1 has been released 🚀
Fixed smtp-requests behaviour, released developers documentation 📚 Be sure that email address valid and exists 📨 https://github.com/truemail-rb/truemail
Implementing fastlane in 50 lines of code
Thousands of mobile developers use the fastlane gem and its DSL on a daily basis, but only a few understand that they’re writing Ruby. This post shows how you can recreate the main concepts of Fastlane in 50 lines of Ruby. [more inside]
Sane Excel file generation with Ruby on Rails
Read about 3 steps we took to reduce our memory footprint (0.2Gb instead of 4Gb) and the time when generating Excel reports (2m instead of 15m). [more inside]
ClickHouse for Ruby
ClickHouse Ruby Gem v1.3.3. released with support of Yandex ClickHouse Server v20.9.3.45 [more inside]
How To Enable SSL For Rails Development Environment In Two Minutes
Learn more about how to enable SSL for Rails development environment in two minutes. read about how we can enable SSL on thin server. https://www.botreetechnologies.com/blog/enable-ssl-for-rails-development-environment-two-minutes
Desktopify Web Apps with One Glimmer Command
You read that right! Not only can you webify desktop apps in Glimmer, but you can also desktopify web apps with a new Glimmer scaffolding command (added in v4.17.3.0)! https://andymaleh.blogspot.com/2020/10/desktopify-web-apps-with-one-glimmer.html
Ruby 3 adds a new method name on Symbol class
One of the important aspects of Ruby 3.0 is optimization. The part of that optimization is the introduction of the name method for Symbol. Read more at https://blog.bigbinary.com/2020/10/12/ruby-3-adds-symbol-name.html
football-to-sqlite - load / read football.txt match datafiles into a sqlite database
Hello, inspired by the datasette {db,dbf,markdown,geojson,shapefile}-to-sqlite series I have put together the missing football-to-sqlite tool that lets you load / read football.txt match datafiles (e.g. English Premier League, German Bundesliga, Spanish La Liga 2020/21, etc.) into a sqlite database. Example: football-to-sqlite england.db 2020-21\1-premierleague.txt
Enjoy the beautiful game with ruby. Cheers. Prost.
Traker - Track rake tasks in a Rails application
Traker is a Rake task tracker for Rails applications. When integrated, it keeps track of rake tasks that have been run and stores that information in database. https://github.com/pavloo/traker
github analytics w/ hubba-reports gem - What are your most used languages?
Hello, I have split the hubba github analytics gem into two, that is, hubba and hubba-reports for easier (re)use and split the data gathering / collecting via github api calls and the report generation. Anyways, I have added a new language report that lists all your languages used by char / bytes count and by number of repos. See LANGUAGES.md as a real-world example. Happy data crunching with ruby. Cheers. Prost.
Introducing Mailbox Tester
Do you send lots of emails with your Rails app, and wish you had a way to spot check them? Fix those typos, and make sure the dynamic content looks correct? It’s easy to verify there are no code bugs with Rail’s builtin Mailer preview. But how do you prevent sending someone’s wrong order or personal information, especially if it’s in a batch of emails? You need to generate those emails, and make sure they match everything. https://onrails.blog/2020/10/12/introducing-mailbox-tester/
How to write Clean Code?
Lessons Learned about Clean Code book of Uncle Bob [more inside]
Free Blog setup with Github Pages
Do you want to launch your blog absolutely FREE? Here are the steps that will help you to launch your blog within 30 mins and that too totally FREE of cost https://mayurkumarpatel.medium.com/how-i-launched-my-blog-with-free-of-cost-and-the-minimum-efforts-2d6ab3f165c4
Docker for Development Vlog
I discuss Docker and its use cases while developing. If you’re not using it, you should give it a shot. It has changed the way I develop applications. https://youtu.be/qP424uuQSmk
Glimmer Calculator Desktop App Runs On The Web Via Opal
Glimmer Calculator v1.1.3 (Glimmer DSL for SWT desktop app) finally runs in Glimmer DSL for Opal on the web without needing to change a single line of Glimmer desktop GUI code. It is completely written in Ruby! This is the future of web development as we know it! You simply build apps for the desktop and they just work on the web. After all, web browsers are a desktop app and GUI is just GUI whether on the web or desktop. https://andymaleh.blogspot.com/2020/10/glimmer-calculator-v113-runs-on-glimmer.html