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.
Caching, What is it Good For
Achieve application simplicity with zero caching and blazing speed. It isn’t the framework or the content that is holding you back, it’s the language. [more inside]
Open-source Ruby SDK for epages API
ePages published a blog post on developing a Ruby SDK for their REST API. Read further here or check the GitHub repository directly.
Karafka framework 0.4 – Routing engine
We’ve finally released a new version of Karafka framework. Apart from many tweaks and bug fixes it contains a new routing engine. Check out why it is worth paying more and more attention to Kafka and Karafka: Karafka framework 0.4 – Routing engine
Leveraging Ruby Libraries
I gave this O’Reilly webcast on Ruby, its standard library, and Ruby Gems on January 26. It’s a lightning tour of the Ruby language, its core classes, its standard library, and third party Ruby gems like Rails and Sinatra. If you’re on the fence about learning Ruby, this will give you an idea of what the language can do for you! [more inside]
Did you know about Ruby standard library Abbrev?
It’s is a small utility module which helps you to create all possible abreviations from given array of words. Read the docs or my post about it.
Wye Tech News #9
A new issue of our weekly compilation of interesting news and articles about Ruby, Rails, JavaScript and web development related stuff that we found during the week.
Raw SQL in a Rails Project
In this blog post I reflect on the idea of writing raw SQL in Rails projects, and present a few tips on housekeeping the SQL code: http://gmile.me/raw-sql-in-a-rails-project
A Decade of Rails
Craig Jolicouer reflects on using Rails for a decade and points out some common gotchas that newcomers experience: http://blog.mojotech.com/a-decade-of-rails
Testing Rails Simple Guide — Part 1
This guide will explain the overview of how to testing rails application in a way everyone can understand. https://designcode.commandrun.com/testing-rails-simple-guide-part-1-33d3d80a83f#.u8miw3iuj
Migrate from Rails 3.x to 4 or 5 with strong parameters
I have created a rake task to help me to migrate a legacy Rails app to strong_parameters. It generates the parameter helper methods for each model. http://meier-online.com/en/2016/01/migration-rails-4-strong-parameters/
Stay Static Showcase Update #2 - New Static Site Samples Incl. Middleman 'n' webgen
Inspired by the TodoMVC showcase I’ve started to put together a static site builder / generator showcase named Stay Static. The idea is to helping you find your static site builder / generator that works best for you. [more inside]
Send Transactional Emails In Rails
To help make your work easier the next time you need to integrate email into your Rails, I’ve compiled the best content on the topic into a 5-part email course.
Improve console print debugging experience
Using awesome_print with tiny improvement as a debugging tool http://undefined-reference.org/2016/01/31/super_awesome_print-as-debugger.html
PostgreSQL Indexes: First Principles
Not really a Ruby related post, but since PostgreSQL is a popular choice among Rubyists, I decided to share this article here. It goes in depth about PostgreSQL indexes and query costs with(out) indexes. Check it out here.
Trailblazer Newsletter, January Edition
Trailblazer is a High-Level Architecture for Ruby consisting of many gems like Cells, Reform and Roar. The January 2016 newsletter talks about Formular (new form builder for Ruby), dry-validation in Reform, Sinatra/TRB, cool but unknown features in Reform and upcoming talks in Europe and Australia.
increment_with_sql v0.0.2 release
For the sake of consistency, use increment_with_sql for ActiveRecord to atomically increment/decrement your counters http://github.com/mrkamel/increment_with_sql
Is 2016 the Year of the static site generators? New sites incl. Rails, EuRuKo, & More
Hello, Is 2016 the year of the static site builders / generators (in Ruby)? The Static Times news channel spotlights some great new static sites on its twitter feed (@statictimes). The latest spotlights include: [more inside]
Replacing Pingdom with Ruby and Heroku
Pingdom recently increased the price of the starting plan from $10 to $14. Since they didn’t keep the price for older customers, I decided to create something to replace it, because the new pricing is just too much for my personal sites. This article shows how you can set up your own uptime checker and run it on Heroku for $7/month.
How to create many-to-many associations in Rails
I wrote an article on the creation of many-to-many relationships with the built-in Ruby on Rails associations, has_many :through and has_and_belongs_to_many:. Additionally, the specific differences between the two will be examined with some use cases. Read more
WhereTZ: find timezone by geocoordinates
New small gem wheretz is fast, doesn’t depend on any external service and return quite precise results.