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.
Jekyll Tips And Tricks
Many things have changed with Jekyll over the years and it is always fun to stay current with the latest technical aspects of the tools we use. Here are a few tips and tricks I put together while developing the new 757RB.org website.
Static website generator webgen 1.0.0 released
I have just released version 1.0.0 of webgen, a fast, powerful and extensible static website generator. Have a look at the webgen website to see why you would want to use it over others.
Replacing nanoc with middleman for static web site generation
Simple instructions for migrating your static web site from nanoc to middleman
Representable 1.7 Is Out With PUT Semantics, Inline Representers And Predictable Coercion!
The mapping gem representable got support for syncing objects when parsing REST documents and some more awesome features, read the release blog post to learn more about it.
Efficiency in Development Workflows: Deployment Pipelines and Zero Downtime Deployment
Having a Deployment Pipeline in place is extremely helpful! Learn how to set it up and how to deploy to production servers with Zero Downtime Deployment. [more inside]
Automating DPR switching with Client-Hints
Client-Hints automates DPR switching without requiring any modifications of our existing HTML and CSS markup. How? Simple and battle-tested HTTP negotiation.
Announcing Echowrap, a Ruby interface to the Echo Nest API for doing cool things with music
I just launched Echowrap a wrapper to the Echo Nest API. [more inside]
Manage features in Rails application
I just posted Manage features in Rails application on my blog.
Showcase of Rails 4 and AngularJS integration
I just uploaded todo-rails4-angularjs source code to github, a practical example of how to integrate Rails 4 and AngularJS.
Rubyzip 1.0 released
I just released new version of rubyzip. Important change - API was changed! NEWS: * Changed the API for gem. Now it can be used without require param in Gemfile. * Added read-only support for Zip64 files. * Added support for setting Unicode file names.
Using Regular Expressions to Validate an IP Address in Ruby
Did you know that the Ruby standard library includes regular expressions for validating both IPv4 and IPv6 addresses?
Confession of a Java Anonymous – Ruby is so brittle, and I like it
Confession of a Java Anonymous – Ruby is so brittle, and I like it. How this brittleness makes you a better developer, makes better code.
Is Rails the right solution for your new startup?
Here is a tour of programming languages you might want to consider for your next big project. With a list of pros/cons.
jquery-cdn: Faster jQuery 2 for Rails by CDN
Popular jquery-rails gem often wait few month before update jQuery, because it contains also UJS adapter and need to test it. For example, there is no jQuery 2 for Rails by jquery-rails. [more inside]
Accepting Recurring Payments with Recurly.js (in your Rails app) - Part 2
If you wonder how to integrate the Recurly.js form in your app, this post documents the possible ways to organize your signup workflow. The next episode will dive into the actual implementation of one of those possibilities, using Rails and CoffeeScript.
Manage (turn on/off) different features in your rails application with feature_flags.
Ruby gem to manage (turn on/off) different features in your rails application feature_flags.
Attrio-0.6 released
We have just released Attrio-0.6, here is the list of new features and impovements:
Benchmark Time Gem - Benchmark an arbitrary code block with concurrency
I just released a new gem BenchmarkTime. Benchmark Time lets you take an arbitrary code block and benchmark its execution time concurrently. Specify the number of threads to run the code block, and get min/max/average response time numbers.
Confident Ruby eBook
I’ve released the final version of Confident Ruby, a book of patterns for writing code that tells a clear story. A companion screencast is also available.
4 Tips for Working with Dates in PostgreSQL
Those of us who come from Rails aren’t surprised when we see something like 5.weeks.from_now or 3.days.ago + 2.hours, which makes working with dates much easier. But PostgreSQL got your back on this as well, you can just use the builtin functions and get most of the same functionality. [more inside]