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.
Allegro webapi gem - api for polish auctioning site
I just launched allegro-webapi gem. It’s still very early version, but I am waiting for response from others. Contribute and fork :)
Rails 4 application: actibities demo is online!
I just launched actibities demo after switching from java to ruby 4 months ago! Feel free to play around!
strong>Closures in Ruby: Blocks, Procs and Lambdas/strong>
Released an updated version of the article on Ruby Closures. [more inside]
Multidispatch feature in Ruby
If you worked with other languages you probably familiar with feature called multi dispatching or multimethods. It is the feature of some object-oriented programming languages in which a function or method can be dynamically dispatched based on the run time (dynamic) type of more than one of its arguments. [more inside]
Using Sidekiq and Clockwork? Try Sidetiq!
Learn how to reduce resource consumption with Sidetiq, and save $35/mo if you’re using Heroku.
How to create executable web applications with Ruby
Some ideas about how to implement executable web applications in Ruby.
Parsing Unsanitized JSON from Ruby
Versions of the JSON gem > 1.7.5 incorporate a fix addressing CVE-2013-0269 that entails disabling support for parsing unvalidated JSON data from an arbitrary source. [more inside]
binding.repl: binding.pry for everyone.
binding.repl makes the same binding.pry interface available to Pry available to all ruby consoles(IRB, Ripl, & Pry, if there’s others let me know!)
Neoon: A simple Ruby wrapper for Neo4j with focus on Cypher.
I just pushed Neoon, a ruby wrapper for Neo4j >= 2.0.0-M05. [more inside]
Kicking the Tires on Ruby 2.1 Preview
Digging into the details of Ruby’s 2.1 Preview features, i.e. its new garbage collector and optimized method cache.
Kicking the Tires on Ruby 2.1 Preview
Digging into the details of Ruby’s 2.1 Preview features, i.e. its new garbage collector and optimized method cache.
PullReview: Reach your Ruby Code Skill Walhalla - Ready for Beta!
TL;DR: PullReview is close to Beta now. In this post we’ll show you the ease of use, the code reviews, and how PullReview guides you to become a better Ruby developer.
Install Dokku + PostgreSQL with Docker for your Rails app (or whatever else, almost)
I wrote an article about Dokku + PG in a Docker container for your Rails app last month. Simple but useful for your small apps. You can read that here.
lit - i18n web interface for your apps
We’ve updated our gem for managing translations in Rails apps. It comes as an engine (no need for third party services), so installation is very straightforward. Lit helps you translate your apps via separate backend, all changes are visible in real time. Latest version (0.1) comes with improved stability, support for versioning and what’s most important - API and ability to synchronize translations between environments (or even apps).
Exceptional Comments
An article that started with a discussion of comments, but lead to a discussion of exceptions and a whole lot more. Exceptional Comments
Ruby static code analysis
Some thoughts on Ruby code analysis, specifically discussing some things that are challenging for static analysis tools to catch.
Teaching Ruby to speak HTTP 2.0...
Pure ruby framework and transport agnostic implementation of HTTP 2.0 protocol: new http-2 gem. [more inside]
How to speed up your AngularJS + Rails app by reducing HTTP Calls
By default, AngularJS sites are slower than they need to be. Most AngularJS sites are bogged down with multiple HTTP calls on the initial page load. Multiple HTTP calls result in slower response time, and higher heroku bills. Sites that load slow can see users flee your site, especially on Mobile connections. AngularJS apps have two low hanging, easy wins for reducing HTTP calls: ng-init for preloading JSON, and preloading your templates using the asset pipeline. http://www.angularails.com/articles/how_to_speed_up_your_angularjs_rails_app
Debugging Rails 4 CoffeeScript and Sass source files in Google Chrome
I wrote small article about debugging SASS and CoffeeScript using Rails 4 and Google Chrome.
How to manage front-end packages in Rails with Bower
New blog post from Shelly Cloud about Bower and how to integrate it with Rails - How to manage front-end packages in Rails with Bower
Phusion Passenger WebSockets demo
Phusion Passenger supports WebSockets! This demo shows you how it works.
TechnicalEcstasy.net
I recently launched TechnicalEcstasy.net, a blog on science and software development. The blog engine is developed using Ruby and Sinatra. [more inside]