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.
Contribute to RVM, Homebrew and Exercism, May 11-12 at ROSS conf Amsterdam
ROSS conf Amsterdam gives (Ruby) open source software maintainers the platform to introduce their project to an audience of first time as well as existing contributors. After 15 minute introductions to the project, pressing issues and requests, the conference day is reserved for hands-on programming (or contributing through updating documentation or adding artwork!) and pairing with the maintainers in small groups. To conclude the hackathon the maintainers present data on bugs fixed, issues assigned, contributions made etc. [more inside]
Blockchain vs (Hyper) Ledger - Inside the ledger-lite library / gem for transactions
Hello, yesterday’s Hyperledger talk notes titled Blockchain vs (Hyper) Ledger – Inside (Hyper) Ledger Lite - Add Transactions One Block at a Time and Balance the Accounts (Books) with Ruby. Cheers. Prost. PS: What’s your (favorite) way or (what libraries/gems to use) to build / design / write blockchains / transactions in Ruby?
My Toolkit for Writing and Promotion of Blog Posts
I would like to describe a couple of tools which I use to create, release and promote my blog posts. If you already are a technical blogger, or maybe still only thinking about setting up your place on the internet, you might find some valuable tips for your own toolkit. [more inside]
An overview of Ruby GUI development in 2018
During the development of a desktop application, I evaluated most of the Ruby GUI toolkits, and prototyped the application with three of them. This article presents a summary of what I’ve experienced. [more inside]
Build Presentations / Talks w/ (Strutured) Text with Jekyll Themes and Slideshow (S9)
Hello, yesterday’s Austria.TXT talk notes titled Build Presentations / Talks (‘n’ Handout Notes) w/ (Structured) Text w/ Formatting in Markdown and Jekyll Themes (Bespoke.js, Reveal.js, S6, …) ‘n’ the Slideshow (S9) Website Compiler. Cheers. Prost. PS: What’s your way to build / design / write presentations / talks with Jekyll and friends (in Ruby)?
Ruby 2.5 adds Exception#full_message method
Ruby 2.5 has added Exception#full_message method to retrieve a string expression of an exception, formatted in the same way with that Ruby prints an uncaught exception out. Read more at - https://blog.bigbinary.com/2018/03/13/ruby-2-5-adds-exception-full_message-method.html.
My favourite Ruby and Rails resources
I’ve put together a list of books, courses, tutorials, screencasts, etc… that I’ve used and loved while developing in Ruby and Ruby on Rails.
Rails EventStore - better APIs coming
Rails Event Store v0.26 is here with new, nicer APIs. Let’s have a look at some of those changes and how they affect subscribers and aggregates.
Isle of Ruby - Speakers Announced + 48hr Ticket Sale
We’re now just a month away from the Isle of Ruby, a brand new conference for human Rubyists taking place in in Exeter, England. We have just announced almost all of our fantastic lineup. And for the next 48 hours we’re also offering a big substantial discount (10%) off all passes. Visit our ticketing page using the code iloveruby.
Lazy Load Bootstrap Modal in Rails
lazy_modal a gem that can lazy load complete bootstrap modal html dom from remote. bootstrap provide remote url configure can load modal content html dom but how about all bootstrap modal html dom loaded from remote? maybe lazy_modal can help you :)
5 Checks to Make Before Launching Your App into Production
A handful of checks to make and things to configure when launching your app into production Continue reading…
How we started using Redux-Form in our Rails apps
An an opinionated guide on using Rails and Redux Form. [more inside]
How to Track Down and Fix Slow Active Record SQL Queries in Rails
Scaling issues are great because it means that you have a traffic on your website. Before you decide that “Rails doesn’t scale!” and start a rewrite to some potentially more performant tech stack, maybe you should double check your database queries first. Below I describe some tools and techniques you can use to track down, diagnose and fix slow Active Record queries. [more inside]
Conventions for Good Ruby Value Object
A value object is an important concept yet surprisingly quirky to implement. This repository gathers a crowdsourced convention/checklist for a good Ruby value object.
Generate typechecked Ruby models from JSON/schema
quicktype infers types from JSON data, then outputs models in Ruby, Swift, Objective-C, and many other languages for reading that data. We just added Ruby support and we’re looking for feedback. Thanks!
tty-prompt adds ability to disable menu items
The newest tty-prompt allows disabling menu items and communicating reason back to the user. It handles menu items with content that exceeds terminal width. Enjoy!
Copycats Update - New! SQL Database Tables and ActiveRecord Models for @CryptoKitties
Hello, I’ve put together a (free, open source) SQL database schema / tables and ActiveRecord models for CryptoKitties. Still early and suggestions more than welcome on how to make it better, easier, faster, etc. The models incl. Kitty (of course), Gene, Trait and more. The idea is to make queries easy (thus, all 48 genes of a kitty in a “flat” genes tables along with all others). Find the source at the Copycats project page. Cheers. Prost. PS: You can read-in all 500000+ kitties using the Kitties on the Blockchain public dataset in comma-separated values (CSV) format in blocks of a thousand kitties each.
Cron on heroku in 5 minutes
A quick tutorial to get you started http://antulik.com/2018-03-11-cron-on-heroku-in-5-minutes.html
Write your own scss-compiler
The article about little experience of writing a compiler. read more
New gem trav3 — A Travis CI v3 API abstraction.
trav3 is a lightweight abstraction for accessing Travis CI public builds, jobs, and logs. Future updates will include more of the API. With the current abstraction it’s super simple to add additional API endpoints.
@AwesomeJekyll News Channel - Updates About The World #1 Website Compiler (in Ruby)
Hello, Find the latest and greatest news (updates) about Jekyll and friends at the Awesome Jekyll News Channel on Twitter https://twitter.com/awesomejekyll. Follow along. Latest (re)tweets include: [more inside]
Microservices for Startups: An Interview with Mike Hu of LogDNA
An interview with Mike Hu of LogDNA. Mike offers some great insights on starting with microservices from the beginning and using microservices to avoid any downtime.
Display Complex Object
The putsmethod implicitely calls the to_s method of the object passed as parameter (except for a String).. see more
We demand FaaS for Ruby !
This is an online petition to show that Ruby community is prepared to go Serverless and show Function as a Service providers that there is a value and market potential to support Ruby MRI. [more inside]
Build (Online) Books and Documentation w/ Ruby Tools (Jekyll, Kramdown, Octobook)
Hello, yesterday’s Vienna.rb talk notes titled Build (Online) Books and Documentation w/ Octobook Themes and the Jekyll (Static) Website Compiler. Real-world examples built with the (auto-)magic GitHub Pages build-pipeline incl.: [more inside]