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.
[Screencast] Ruby on Rails Development with Microsoft Windows 10
Developing a Ruby on Rails application on Windows can be difficult, but doesn’t have to be with Bash on Windows. Learn how to use Bash to install the Ruby interpreter. https://www.driftingruby.com/episodes/ruby-on-rails-development-with-microsoft-windows-10
My Ruby on Rails Workflow, Productivity Tips and Tools [Screencast]
In this screencast, I implement an improvement to subscription payments handling in my side project Abot. I show my typical Ruby on Rails workflow, productivity tools, and techniques which I use. [more inside]
ActiveContract - Blockchain SQL Database Storage for Universum World Computer in Ruby
Hello, the little weekend experiment continuted - let’s (re)build the billion dollar ethereum world computer from scratch (zero) using a 25-year-old contract language - ruby :-) - and ye good 40-year-old SQL databases. What’s news? Use the new ActiveContract machinery to store the contract (world) state in the blockchain using - surprise, surprise - SQL database storage. See a first live converted gold mine / token contract in universum with SQL storage e.g. token_sql.rb. Let’s put ruby on the blockchain :-).
I created a quizbot SMS framework and I am new to open source
I would like to get some feedback to an open source application. I am fascinated with Twilio and its features. Combine that with marketing and SMS. Imagine you are in a waiting room and you see a poster that says “Text the keyword FLU to ###-###-#### to learn about the myths of the flu.” [more inside]
Create a beautiful chart with just one line of Ruby code
It is nice to have charts in the Ruby on Rails app but it’s sometimes difficult to prepare proper data and then display it using JavaScript in the view. Let me introduce you the solution READ MORE
New Class Naming Rules in Ruby
There used to be only 26 valid characters for the first letter of a module or class. Now there are 1,853: https://medium.com/square-corner-blog/new-class-naming-rules-in-ruby-bb3b45150c37
Microservices for Startups: An Interview with Nick Zadrozny of One More Cloud
Great interview about using microservices with Nick Zadrozny, founder and CEO of One More Cloud, which provides specialized hosted cloud services. Nick is the creator of OMC’s two hosted search as a service products, Bonsai and Websolr.
Fast PostgreSQL Data Loading Using Ruby
Video tutorial on how to quickly load data into PostgreSQL with various techniques using Ruby. I discuss the best ways to load terabytes of data: https://www.scalingpostgres.com/tutorials/fast-postgresql-data-loading-using-ruby/
Collecting usage statistics with DynamoDB and AWS Lambda
Looking to supplement user feedback (surveys and customer support) in order to make better decisions regarding future functionality for a product we recently launched, we built a barebones telemetry system - opt-out and completely anonymous - with DynamoDB and AWS Lambda: https://blog.phusion.nl/2018/05/03/collecting-usage-statistics-with-dynamodb-and-aws-lambda/
Microservices for Startups: An Interview with Ben Curtis of HoneyBadger
HoneyBadger co-founder Ben Curtis discusses how HoneyBadger has implemented microservices for handling production monitoring for web developers.
How to Improve Self-Confidence when Writing Code
One of the most frightening parts of being a developer is the recurring feeling that the solution that you are building is not going to work as intended, it is going to scale poorly or some of your coworkers will dislike working on top of it. [more inside]
Why Phusion is organizing an open source mini-conference in Amsterdam
A little back story to the ROSS conf format, the (3rd!1!!) installment that will take place in Amsterdam in little over a week from now: https://blog.phusion.nl/2018/05/02/why-we-organizie-an-open-source-conference-in-amsterdam/
Client-side caching in Rails: conditional GET requests
This week in AppSignal Academy’s caching series, we’re discussing conditional GET requests and client side caching in Rails. We’d love to know what you think!
Ruby 3x3 - Ruby 3 Will Be 3 Times Faster - What’s News?
Hello, I’ve updated the Ruby 3x3 articles (and slides) collection @ Planet Ruby. What’s News? Thanks to the RubyElixirConf Tawain new slide decks include: The State of / All About Guilds - A New Concurrency Model for Ruby 3 by Koichi Sasada, Cookpad ++ Method JIT (Just-In-Time) Compiler for MRI (Matz’s Ruby Interpreter) - Optimizations in Ruby 2.6 Preview 1, 2 by Takashi Kokubun, Treasure Data. Anything missing? Additions welcome.
How To Use The Decorator Pattern in Ruby
Design patterns help you solve specific Object-Oriented Design problems. In this article you’ll learn about the Decorator Design Pattern & how to implement it in Ruby. http://www.rubyguides.com/2018/04/decorator-pattern-in-ruby/
HOWTO execute Rust code with Ruby
Learn how to compile and execute Rust code with Ruby—useful for optimizing performance-critial sections of your Ruby app, or re-using code already written in Rust without having to port it to Ruby: https://readysteadycode.com/howto-execute-rust-code-with-ruby
How to instance_eval?
Ruby has multiple evals to execute code in another class context: instance_eval and class_eval - so what’s the difference? when to use what?
Reducing Sidekiq Memory Usage with Jemalloc
I wrote a new article on Reducing Sidekiq Memory Usage with Jemalloc. Hope you enjoy!
Increase Your Productivity with Rails Console Aliases [Quick Tip]
Recently I’ve started using a productivity technique which saves me a lot of unnecessary typing when working with Rails apps. In might seem trivial but I still wanted to share it because it makes my everyday work easier. [more inside]
GDPR engine for Rails
PolicyManager (Aka GDPR RAILS) was created with flexibility in mind to comply with the requirements of the GDPR (General Data Protection Regulation). It’s currently being developed at preyproject.com , It’s production ready and will be battle-tested on preyproject.com from May 25th. https://github.com/prey/gdpr_rails
Contribute sending translations in your language for the gem 'timeliness-i18n'
‘timeliness-i18n’ gem provides translations for ‘timeliness’ and ‘validates_timeliness’ gem. But nowadays there is just some languages translated. Help us to increase the number of languages available with translations. Contribute with the repository: https://github.com/pedrofurtado/timeliness-i18n [more inside]