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.
Fluxbox Apps Menu
If you are a Fluxbox user you can build your apps menu through this gem: https://rubygems.org/gems/fluxbox_apps_menu 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: https://medium.com/@ccverak/is-phantomjs-eating-all-the-ram-on-tests-f0993f8d5b82
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. [more inside]
Rails Girls Łódź 2015
New post on the Ragnarson Blog - Rails Girls Łódź 2015 @_idengager http://blog.ragnarson.com/2015/06/29/rails-girls-lodz-2015.html
"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.
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 . [more inside]
RubyConf 2015 Videos are up!
Second Ruby Conference in the Philippines [more inside]
This Is Professionalism
The cycle of automony, responsibility, and humility [more inside]
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: https://medium.com/@jtwarren/demystifying-the-magic-of-rails-416d2195f098
telegram-bot-ruby
I’ve just released my own implementation of Telegram Bot API Ruby client. Check this out! https://github.com/atipugin/telegram-bot-ruby
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.
tty-pager v0.2.0 release
New tty-pager comes with rewritten system pager to correctly callout to other processes. Give it a try.
Example of Interpreter Pattern
I’ve added an example for the Interpreter Pattern. Also, this repo englobes many more examples from Ruby Patterns. Hope you find it useful!
Disposable – The Missing API of ActiveRecord
Disposable gives you Twins. Twins are non-persistent domain objects that allow you to model object graphs that reflect your domain, not your database schema.
How I resolved confusing tests and production code
Pair Ranking is very well defined problem solving technique. When my code become convoluted I had to switch my perspective to that of the user to improve the code and the tests. Read more about it here: TDD Beyond Basics : Outside In Perspective . This also shows you an example of how you could use this gem.
Rails Assets Makes Using Fronted Libraries Easy
Rails Assets will save you a bunch of time managing assets for frontend libraries in Rails. It automatically generates Rubygems for libraries like Bootstrap from the original git repositories using Bower.
How do you track down an obtuse error in your Rails app?
Last week I had to track down an obtuse error, I wrote about what helped me do it here.