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.
Ruby can be Faster with a Bit of Rust
Wouldn’t it be cool if you could write C extensions without having to manage memory? What if it was even faster than C? The Rust language might be up your alley. You can read more at SitePoint.
Give the gift of 'Learn Ruby on Rails' for free
Know someone who wants to learn Ruby on Rails? Holidays are a great time to begin. This book is called, “The best Rails book for beginners,” and it is FREE on Amazon from now until December 25. Give it as a gift. Or get it for your own reference library.
Infoboxer 0.2: Effective Wikipedia data extraction
New version of infoboxer gem has been released. Infoboxer targets information extraction from MediaWiki-based wikis. New version includes ability to fetch categories and new interactive console.
The Best Picks from Ruby Day Conf 2015
Conference sum up by Netguru developers, along with links, presentations and incoming trends. Read more
New API load stressing/testing framework
I build a load stressing and testing/measuring framework on Ruby (mostly) for APIs. Take a look here! It uses underneath http gem which means it supports anything this gem supports. Also, you can customize the urls using pros/lambdas and have different strategies when sending the requests making it super easy to create any testing scenario.
Know who your Rails developer is NOT
It’s easy to forget, when hiring an expert, that they only specialize in one thing. Here are a few things your RoR expert is NOT, and what you shouldn’t expect their help with.
Unlocking the ‘Devise’ Gem
Devise is a powerful & flexible authentication solution for Rails. It is completely based on MVC structure and allows to have multiple models signed in at the same time. Read full article at RailsCarma Blog.
Email address validation and encodings
RFCs are difficult to read and understand, and can be ambiguous at times. Theory is one thing, and implementation is another thing. In this blog post my focus are some interesting details about email addresses.
New Gem: ActiveJob-Cron
ActiveJob-Cron lets you have recurrent job when using ActiveJob in a very simple way. However, for now it only has very simple functionality with some known issues, so I am also looking for any contributions!
In-Memory Fake Adapters
There are two common techniques for specifying in a test the behavior of a 3rd party system: Read more
Ruby on Rails 4.2 book update and XMAS special
I updated the content of my Ruby on Rails 4.2 book. I wanted to update it to the latest Ruby (2.2.x) and Rails (4.2.x) version before the 5.0 release. In that process I changed a lot of code examples to make the ebook better readable on small devices. I did the same with the text which means less text which gets to the point more quickly. As a christmas special I set the price to 0,99 USD:
Upgrading Server Ruby to 2.2.4 on Linode using Moonshine
Learn how to upgrade Ruby to latest 2.2.4 on Linode using Moonshine
Ruby vs Elixir - code quality on Github
A quick comparison of language code bases and some resulting (biased) conclusions. Read more
How to access the Google Analytics API with Ruby
How to access the Google Analytics API with Ruby. A guide showing you how to access the Google Analytics API using the OAuth 2.0 flow for web applications and the google-api-client gem.
Reguler Expression
Here is my first blog.. Please check it out.
New gem: minitest-hyper
minitest-hyper is a new plugin for everyone’s favorite testing framework that generates an attractive single-page HTML report for your test runs. The reports are self-contained, using JS and CSS assets from public CDNs, so they can be distributed by email.
Understanding Asset Pipeline Plugin
The asset pipeline provides a framework to concatenate and minify or compress JavaScript and CSS assets. It also adds the ability to write these assets in other languages and pre-processors such as CoffeeScript, Sass and ERB. Read more at RailsCarma’s Blog
Ruby Time & Date Classes
Learn to work with time & date objects in Ruby with this tutorial :)
The Minitest Cookbook - updated edition
I’ve released a new version of The Minitest Cookbook that’s been revised to include changes in the latest version of Minitest (5.8) and Rails 5, and it includes previously unreleased chapters and a set of handy cheat sheets for your wall. Until Friday, you can get it here for 25% off.
Building Cross Model Search with Ember, Rails, and Elasticsearch
In part 2 of his series, Rob Guilfoyle explains how to build an autocompleting cross model search for a Rails app.
Ruby on Rails E-commerce API for Beginners. Part 3.
MLSDev developers continue to write Ruby on Rails E-commerce API Tutorial for Beginners. The third part deals with registration and authorization. It is an essential element in creating e-commerce platforms so cannot be omitted in the development. If this is of your interest, you will find more details here: http://mlsdev.com/blog/44 Read more
Handling Paginated Resources in Ruby
Extracting data from an API can get messy once pagination is involved. We’ll look at a few ways of dealing with this complexity to enumerate paginated resources, including “recursive each” and the Kernel#to_enum method.
Rails isn’t trendy anymore. Hooray for Rails!
Rails is still alive and strong, but it’s not the flavor of the day anymore. Who cares?
Inspect Network-Traffic in Capybara with Poltergeist
A short example on how to inspect your Network-Traffic inside a Capybara-Spec when using Poltergeist as driver.