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.
Rails 4: What's New
Basically transcribed the highlights from Andy Lindeman’s “Rails 4 Whirlwind Tour” talk (with his permission and proofreading :-) including some of my own commentary. [more inside]
Ruby IDE Recommendation
Can anyone recommend a good IDE for Ruby development? Using VI is getting old :) [more inside]
DCI: The Right Idea for the Wrong Paradigm
The recent debates over DCI have led me to question whether it’s even the Right Thing for Ruby, or even OOP in general. It seems like a glommed-on functional pattern, and I explain why I think so in this post.
EuRuKo 2013 -- 20 years of Ruby this summer in Athens Greece
This summer EuRuKo 2013, the European Ruby Conference, is taking place in Athens, Greece on the 28th and 29th of June. Stay tuned .
Rails SQL injection vulnerability: hold your horses, here are the facts
This blog post explains the recent vulnerability, how it works and what the facts and non-facts are.
Entity-Component game programming using JRuby and libGDX
Chris Powell recently launched the Ruby Entity-Component Framework (Github link). Entity-Component systems are an alternative to OOP and are extremely attractive for game design. The framework is documented in an 8-part blog series that starts with basic E-C principles and proceeds all the way through creating a basic “lunar lander” type game.
SQL Injection Vulnerability in several versions of Rails!
Fixes already released, please upgrade!
Git-backed Wiki Ōlelo
I just released version 0.9.12 of Ōlelo, which is a feature-rich git-backed wiki. It supports a lot of different markup languages due to its extensible plugin architecture. [more inside]
Managing Rails assets with Bower
Web applications have been shifting from server to client, and with them a lot more Javascript code and stylesheets are written and, hopefully, re-used. While this is quite an obvious statement, it means that we need an efficient way to manage those assets. Bower is a tool for managing these assets and can be integrated in a Rails application.
Rails i18n web interface - as Engine
I wrote lit - a i18n web interface for Rails apps. Lit (Lost in translation) is build on top of twitter bootstrap and I hope, that you will find it helpful in translating your apps by non-technicals. Still under heave development, but any feedback is more than welcome.
Poor man's guide to managing ruby versions
I just wrote a guide to rolling your own Ruby version management. With a little extra tinkering, you can roll this out as your own ruby version management tool, or just use the tutorial to gain a better understanding of what tools like RVM and rbenv do to your system.
Infinite sequences in ruby
I’ve written a blog post about defining and using infinite sequences in ruby. It show what infinite sequences are, how they are useful and how to make them lazier.
Basics of fog and AWS for Rails apps
I just started series about rails working on AWS. We start with quick introduction to AWS and fog.
Easier Debugging with capybara-screenshot
How I’ve used capybara-screenshot to work through some perplexing test failures.
About configuration
A reminder about the possible downsides of global configuration.
PageRankr 4.0.0 released!
PageRankr 4.0.0 was released. It fixes memory leak issues and support for Windows.
Deploying with Gitploy
How to deploy with Gitploy - a small DSL for writing deploy scripts.
A Rails 4 love affair with PostgreSQL
I just wrote a blog post covering all the new PostgreSQL data type support being included out of the box in Rails 4.
ZeroMQ and Ruby a Practical Example
I just posted ZeroMQ and Ruby a Practical Example showing how I added a ZeroMQ endpoint onto an HTTP only service for great performance.
Functional programming in the small
Applying some principles from functional programming can simplify your code. Here’s a short walkthrough based on a Rails helper.
JrSerialPort: Connect to a Serial Port in JRuby via RXTX
Simple but effective JRuby code that simplifies the use of RXTX for basic serial port communications, with sample terminal. See how it works.
Speed up Travis-CI build preparation time by 800%
I just write a guide how you can improve your builds times on Travis-CI
Readable booleans in Ruby
A nice trick to make your booleans more readable: Readable booleans in Ruby.