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.
How to install a beta version of Rails
Eager to try out Rails 6 but don’t know how to start a new project with it? This short guide will help by showing you some gem flags we can play with to get beta versions of gems onto our machines.
Visualized desktop workspaces flow
This article is not dedicated to anything Ruby. But it’s more about how I boost my productivity when working on projects. Example I’m providing there is Ruby on Rails related. So I hope it will help web-developers of any technology. [more inside]
Interview with Adam Wathan on TailwindCSS, Ruby, and more
This episode of Remote Ruby, we’re joined by Adam Wathan, a full-stack developer, Full Stack Radio podcast host, and author of Tailwind CSS. We spend some time sharing his journey into programming, how he got started with Laravel (PHP framework), how Ruby has influenced his software writing and the story behind Tailwind CSS. [more inside]
(Secure) Ruby Quiz - Challenge #3 - Create a Powerball Mega Millions Lottery Contract
Hello, It’s Friday. (Secure) Ruby Quiz Time! Let’s use America’s most popular lottery - Powerball Mega Millions - and make it provable fair by - surprise, surprise - putting the machinery on the blockchain with a contract script in (secure) ruby. Let’s warm-up with the simplest possible lottery first. Join us. Question or comments welcome. Note, the ruby-talk mailing list is the “official” sruby channel. Cheers. Prost.
One Ruby file to rule them all: inline gems and inline ActiveRecord migrations
I experiment with inline gems and inline ActiveRecord migrations in order to produce a self-contained, single-file Ruby web app. Not for every use case, but an interesting experience. [more inside]
Slide Show (S9) Updated - Write Your Slides in Text w/ Kramdown (2.0+) Formatting
Hello, I’ve updated Slide Show (S9) - the free web alternative to PowerPoint and Keynote in Ruby - that lets you write your slides / talks / presentations in text w/ markdown (kramdown 2.0+) formatting conventions. Jekyll (and GitHub Pages)-compatible template packs include s6, reveal.js, impress.js,shower.js and some more. Cheers. Prost.
set up Ubuntu 18.04 for Ruby on Rails developer (Revised 2019 Cheatsheet)
Digging into Shopify’s Rails Architecture
I talk one-on-one with Shopify Technical Lead José Albornoz about their Rails architecture and what it’s like programming on such a large, storied Ruby on Rails application
Building Serverless Applications on AWS using the Ruby Runtime
The Ruby Runtime in AWS Lambda now makes it possible to create Lambda’s using Ruby very easily! These Lambda’s can then be used to support a Serverless App. If you like/hate the guide, let me know in the comments. Hope you like it :) Guide: How to Build a Serverless Application on AWS using Ruby
Ruby Quiz Code Challenge #1 - Tic-Tac-Toe Game Contract - And the Solution is...
Hello, Spoiler Alert! Here’s the (secure) ruby reference solution in its full glory for the (Secure) Ruby Quiz - Code Challenge #1 - Create a 3x3 Tic-Tac-Toe Player vs Player Game Contract. Compare the sruby code to the EOS.IO C++ spaghetti “monster”? I guess the C++ version is at least 10x faster :-). Cheers. Prost. Happy coding and (crypto) blockchain contract scripting with sruby.
Refactoring with Design Patterns - The State Pattern
In this article we talk about a pattern that can be very useful when we need to control the flow of a set of events of our objects: The State Pattern a.k.a Finite State Machine. [more inside]
Ruby or Elixir? Which language do you need for your software project?
The debate over Ruby’s possible decline and the brand new era of Elixir seems to be alive and well in the dev community with threads like ‘Is Ruby on Rails dead?’ and ‘Will Elixir Phoenix destroy Ruby on Rails?’ But what if we are asking the wrong questions? [more inside]
Debugging Rails Mails With Mailhog
Hey guys, we have a new blog article about debugging emails with mailhog. Check it out at:
What is Rake & How to Use It
You’re probably familiar with the “rake db:migrate” command, but how does that work? [more inside]
CodeFund is looking to help fund more rubyists
CodeFund has a surplus of around $40k/mo that is earmarked for sustaining open source. We fund contributors to the open source ecosystem (blogs, docs, apps, etc). If you are interested, please go to codefund.app.
(Secure) Ruby to Solidity (Source-to-Source) Cross-Compiler Cheat Sheet / White Paper
Hello, I’ve started a new white paper / cheat sheet on a (secure) ruby to solidity (source-to-source) cross-compiler. If anyone is interested in how to turn ruby into solidity (and ethereum virtual machine (evm) bytecode) let us know! Question or comments welcome. Note, the ruby-talk mailing list is the “official” sruby channel. Cheers. Prost.
Stimulus + ActionCable + ActiveJob: Loading Asynchronous API Data
Interactivity. Every web app needs it. And Rails comes with a number of tools, which, together, generate that feeling of a fast, responsive app, with mostly server rendered HTML and a little Javascript sprinkled on top.
It's 2019, why should I still have to know SQL to write a Rails app?
Spoiler: I thought of seven reasons why SQL knowledge is still useful even though Active Record is so great.
Dockerize a Sinatra Microservice
A quick recipe to package your Sinatra app in a Docker container.
Ruby Quiz - (Crypto) Blockchain Contract Edition - Challenge #2 PonzICO Investment
Hello, to kickstart the new ruby quiz (crypto) blockchain contract edition let’s add another (easier) coding challenge: Challenge #2 - Create a PonzICO Investment Contract - Blockchain Performance Art. Let’s use the live and “real world” blockchain performance art PonzICO investment contract running on the Ethereum world computer. Read the PonzICO White Paperfor how the investment scheme and dividend payouts work and what your money will get used for. Can you do better (than the JavaScript-like Solidity “world standard”)? Post your code snippets (or questions or comments) on the “official” Ruby Quiz Channel, that is, the ruby-talk mailing list. Happy hacking and (crypto) blockchain contract scripting with sruby.
Exploring TracePoint - Part Two - Events
Part Two of ‘Exploring TracePoint’ is out where we take a look at the events we can monitor on, and some of their potential uses in debugging:
Form validations with HTML5 and modern Rails
This article discusses an approach to form validations using modern Rails and HTML5 form validations. [more inside]
Rackless Ruby Servers: Why not?
This article explores the interaction between four different Ruby web servers and their respective Rack handlers:
Ruby is a Multi-paradigm programming language
Even if Ruby is a fully Object-Oriented Programming language, it can also be interpreted through some other specific prisms. [more inside]