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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
What does it take to put together a modern single-page web app using Vue.js on the frontend and Rails as the backend API? The Pragmatic Studio unpacks the design, architecture, and implementation of a full-stack application so you understand how everything works together. No need to get bogged down in figuring out how to put all the pieces together yourself. https://pragmaticstudio.com/courses/unpacked-single-page-app-with-vue-rails
It’s Friday. Ruby Quiz time! Join us. Let’s keep going with a new Ruby Quiz every fortnight. Ruby Quiz - Challenge #11 - Blockchain Contracts - Disassemble & Assemble Ethereum Virtual Machine (EVM) Opcodes / Bytecodes. Send your code snippets (or questions & comments) to ruby-talk. Happy opscode hacking and blockchain contract bytecode assembling & disassembling with ruby.
https://engineering.culturehq.com/posts/2019-01-18-dynamic-activerecord-columns In this post we discuss ways to reduce the amount of data you’re selecting from the database by using dynamic column names
Ever wondered that you run usual rails new my_awesome_app and you get a really fully bootstraped, authentication added, administration added and lot more for you to just start focusing on business logic instead? THIS WRITE UP IS JUST ABOUT THAT… https://deadsimpleror.wordpress.com/2018/11/27/rails-application-templates/?preview=true
Reuse scopes in parent-child table relationships for clarity and consistency https://engineering.culturehq.com/posts/2019-01-11-delegating-activerecord-scopes
Did you ever want to complete a recurring task in a user’s local time zone? https://scottw.com/using-postgresql-perform-tasks-user-local-time-zone
Read our new article and learn how to use webpacker gem to integrate Rails with React. https://www.nopio.com/blog/rails-with-react-webpacker-gem/
How to use Ruby to drive Tesseract and MiniMagic to extract subtitle text from a screenshot: https://aonemd.github.io/blog/extracting-text-from-images-using-ruby [more inside]
Even though using
Array is very idiomatic for Ruby, there are other handy classes.
SortedSet are parts of the language for some valid reasons. https://frontdeveloper.pl/2019/01/is-array-the-only-option-for-storing-elements-in-ruby/
This post will detail the steps to get a serverless slack command running on AWS Lambda using the Jets Serverless Ruby framework. We’ll make something fun: a command that takes in a URL, scrapes all the images on the page, filters the images using AWS image recognition, and posts the filtered images to the current slack channel. https://blog.boltops.com/2019/01/14/serverless-slack-commands-with-ruby
To be able to display change information directly within our pull requests, we’ve started to parse changelogs from open source projects. Read our blog post on how we’ve approached this problem and what that means for our users, but also for open source authors who write these changelogs.
Learn how to use Jets framework and Dynamoid to build a simple serverless app: https://dev.to/jalerson/hello-serverless-with-jets-and-dynamoid-3fi8
Hi guys, we have made up a list of Ruby gems that help us in our work, hope you will find this list useful: https://www.codica.com/blog/top-ruby-gems-we-cant-live-without/
I’ll cover how to build a simple API service on AWS Lambda with the Jets Ruby Serverless Framework: https://blog.boltops.com/2019/01/13/build-an-api-service-with-jets-ruby-serverless-framework