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.
"Patches Welcome!"
I gave a talk at LRUG last week, called “Patches Welcome!”, about why I do open source software development. I’ve posted a video and a transcript of the talk on the ShinyCMS blog.
benchmarking JSON Parsers (OJ vs SimdJSON)
Either library is around 2x faster than StdLib, and OJ is mostly a drop-in replacement, depending on your needs SimdJSON can over another 20-30% improvement. See the JSON parsing benchmark results and details.
How To Create Custom Shopify App With Rails?
Creating an application for shopify using Ruby on Rails is very easy. Learn More about How To Create Custom Shopify App With Rails. Contact Us Now! https://www.botreetechnologies.com/blog/how-to-create-custom-shopify-app-with-rails
mruby3.0 introductory Webinar
Hello, Have you heard about Matz’s new language, mruby? mruby was released to the public in 2012 and will be updated to version 3.0 this winter. mruby can be used for a variety of applications from enterprise embedded development, game development, and web server add-on function development to fun personal projects using microcontrollers. In this webinar, Matz himself will talk about the new mruby and answer your questions, so we encourage you to join us. We look forward to having you in the webinar! https://www.eventbrite.com/e/lightweight-implementation-of-ruby-mruby-30-introductory-webinar-tickets-117604948567
Hacktoberfest Recap: Open source Ruby/Rails work in 2020
There are a bunch of ways to contribute to open source in the Rails ecosystem that don’t involve the main rails/rails repo. Here’s how I got my Hacktoberfest shirt this year by contributing to Ruby and Rails projects: https://boringrails.com/articles/hacktoberfest-2020-recap/
Data pipelines in Ruby on Rails
If you need to bring a lot of data into your app, a data pipeline can help. This article describes how to build a simple data pipeline with Ruby on Rails, Sidekiq, Redis, and Postgres. [more inside]
New components in Stimulus-components with first class support for Rails
Since the last time I’ve talked about stimulus-components, I added lot of new controllers! [more inside]
football-cat gem - concatenate football.csv datafiles - make out of many, one
Hello, I have put together the new little football-cat gem / tool that lets you concatenate match files (for football clubs or national teams) in the one-line, one-match & one-file, one-season Football.CSV format into one PLUS (auto-)adding the missing league and season headers / columns inferred from the file’s basename (e.g. es.1.csv => ES1) and the file’s directory (e.g. /2020-21/ => 2020/21), for example. Happy data wrangling with ruby. Enjoy the beautiful game. Cheers. Prost.
ArrayIncludeMethods v1.0.4 and Glimmer v1.0.3
ArrayIncludeMethods v1.0.4 (missing methods from Ruby Array API) and Glimmer v1.0.3 (DSL Framework used in Glimmer DSL for SWT JRuby Desktop Development GUI Library) have been released! https://andymaleh.blogspot.com/2020/11/arrayincludemethods-v104-and-glimmer.html
ActiveRecord SetOps
https://github.com/delonnewman/activerecord-setops - Union, Intersect, and Difference set operations for ActiveRecord (also, SQL’s UnionAll).
ShinyCMS 20.11 - the 'tricky second album' release ;)
Not quite the first of the month, but I tagged and released v20.11 of ShinyCMS a few days ago. There was a surprising amount of stuff in the release notes - apparently I’ve been busy - but the highlights are mentioned on the main release page (the first link here). In particular, all the models now have ‘soft delete’ via acts_as_paranoid, atom feeds are generated for the blog and news sections, and I added a set of partials and helpers for adding consistent pagination and search to pretty much every ‘list of data’ (index) page in the admin area. In the process of getting the pagination working, I Iearned that Kaminari has a very long-standing issue with routing into Rails Engines [1] [2] [3], which is a bit of a problem for a CMS built almost entirely out of them. Fortunately the community has provided a fix <3
Building a modern CRM in Ruby on Rails — Part 1
This is the first of a series of tutorial on building a Customer Relationship Management application using Ruby on Rails. Hope you enjoy reading it! https://medium.com/modern-rails/building-a-modern-crm-in-ruby-on-rails-part-1-3b62f7b4dc7d
footballdata-12xpert gem - download & convert datasets from 22+ top football leagues
Hello, I have updated the footballdata-12xpert gem that lets you download, convert & import datasets (in .csv) from 22+ top football leagues from 25 seasons back to 1993/94 from Joseph Buchdahl (12Xpert)’s Football Data website (football-data.co.uk) up and running since 2001 (and updated twice a week). Happy data wrangling and enjoy the beautiful game with ruby. Cheers. Prost. PS: Do you know any good football data sources? Please, tell.
Glimmer DSL for Opal v0.6.0 Hello, Date Time!
Glimmer DSL for Opal v0.6.0 (Auto-Webify Ruby Desktop Apps with Rails & Opal) just shipped with a newly supported sample from Glimmer DSL for SWT: Hello, Date Time! https://andymaleh.blogspot.com/2020/11/glimmer-dsl-for-opal-v060-hello-date.html
Rebuilding Redis in Ruby - New Chapters - Hashes and Sets
Rebuilding Redis in Ruby is a free online book, where we rebuild Redis, in Ruby, from scratch. [more inside]
How to make your website more visible using SSL certificates
Do you want to make your website more visible? Learn how adding an SSL certificate will make your site more visible in details here: https://blog.mayurkumar.info/Apexit-01-How-to-make-your-site-more-visible-using-SSL-certificates/
Building a Programming Language in Ruby: The Parser
Understanding parsers is like seeing the matrix. You start to understand the tree-like structure of your code. You begin to realize that so many language features are just syntactic sugar concealing a simple core. In this article, Alex Braha Stoll will guide us through the world of parsers. He’ll explain basic concepts, then use Ruby to implement a simple parser for his toy language, Stoffle. https://www.honeybadger.io/blog/ruby-parser-stoffle/
How To Be Serverless on Heroku
Serverless is a fantastic way to save money, it’s a little tricky but you can run ActiveJob’s in a serverless way on Heroku via their One-Off Dynos.
Why Ruby on Rails is Widely used for Web Application Development
Ruby on Rails web development is the perfect choice for your web applications. Here are 4 reasons why Ruby on Rails development makes your app development process efficient and simpler. https://www.botreetechnologies.com/blog/why-ruby-on-rails-is-widely-used-for-web-application-development
Glimmer DSL for SWT v4.17.10.0 Hello Table, Spinner, and DateTime Widgets!
Glimmer DSL for SWT (JRuby Desktop Development GUI Library) v4.17.10.0 and v4.17.9.0 ship with many changes, including the new samples Hello, Table! (showing baseball playoff schedule), Hello, Spinner!, and Hello, Date Time! (with data-binding): https://andymaleh.blogspot.com/2020/11/glimmer-dsl-for-swt-417100-hello-table.html