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.
From Rails scaffold to React step-by-step using react-rails
I prepared a simple repository showing a process of refactoring scaffolded Rails views to React components with built-in server-side rendering. It shows how simple you can switch from static Rails views to a dynamic-ready technology.
Maktoub 0.5.0 released
Version 0.5.0 of the Maktoub gem has been released. Maktoub is a simple rails engine for sending newsletters. Read more
I Love Ruby update
Added section “Hash, string and frozen string, their memory foot print” , get the book here
Staying Productive with the Volt Component Ecosystem
Episode 6 goes over how you can save time and keep code clean by using Volt components in your applications.
Be aware about the out-of-memory killer
One of the most important things for applications is stability. There are various hosting platforms that give you virtual servers, where you can run multiple services. There is no limit to the number of processes so it is up to you how much of their resources will be used. However, exceeding all available RAM memory can result in poor stability or even a server crash. This article gives you some basic knowledge about the out-of-memory system state. Read more
Fluxbox Apps Menu
If you are a Fluxbox user you can build your apps menu through this gem: Just some day ago i released the new 1.2.0 version.
Poltergeist watchdog - stop running out of memory
Using Rails? using acceptance testing? using PhantomJS with poltergeist? are your tests running too slow? are you running out of memory? well:
Printing images in the terminal with 9 lines of Ruby
I wrote a blog post about using terminal colours to render images in the terminal using Ruby. Read more
Rails Girls Łódź 2015
New post on the Ragnarson Blog - Rails Girls Łódź 2015 @_idengager
"yamlsh": Interactive REPL for authoring YAML files
I released a YAML authoring interactive REPL called yamlsh. Multi-language support (for typical I18n translation files) and cross-files consistency checks are in the works. Check it out!
eager_group - fix n+1 aggregate sql functions for rails
I just released eager_group 0.1.0, which fixes n+1 aggregate sql functions for rails, like querying average posts rating for each user, I also wrote a blog post to explain details
Ruby Module
An exceptionally productive web application framework, Ruby on Rails is optimized for programmer delight and sustainable output. Read more...
Rack: Writing middleware
Second part of my series about Rack. This time, the topic is writing Rack middleware. You can read the article here.
TDD Beyond Basics
Read the article here: How to Fake User Input
RubyNEAT in the making...
I am on my “sabbatical” right now to add some powerful new features to the only Ruby implementation of Neural Evolution of Augmenting Topologies (NEAT). It’s aggressive and ambitious, but I am adding ES HyperNEAT, modular networks, and phenotype queuing . Read more
This Is Professionalism
The cycle of automony, responsibility, and humility Read more
Mina (with roles)
Mina is a competitive fast deployer and server automation tool. But it lacks multi server roles (for now) as we have in Capistrano. A write to achieve the same with a sample gist can be read here
Crafting Your First Pry Plugin
An introduction to crafting plugins for Ruby’s Pry REPL with an overview of the integration points Pry makes available to Pry plugins to extend and delight! Read more…
Demystifying the Magic of Rails
Some of the simplest rails magic explained and implemented:
telegram-bot-ruby
I’ve just released my own implementation of Telegram Bot API Ruby client. Check this out!
tty-progressbar v0.6.0 release
tty-progressbar gets easy way to specify custom tokens and minor bug fixes. Feedback welcome!
How to scrap website metadata using LinkThumbnailer
Today I expose in this blog post how the description scoring works on LinkThumbnailer’s gem. The gem helps you scrap website metadata informations such as its title, description, images and even embedded videos. But the value of LinkThumbnailer’s gem is its ability to return the best possible description about the website.