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.
Checker - say goodbye to syntax errors
I wrote a blog post about a gem I contributed to - checker. It’s awesome tool that helps to keep your git commits clean of syntax errors.
Simple Ruby(Rails) Passenger memory consumption limit monitoring
Sometimes Passenger gets really naughty and grows rapidly, eating all available memory. I just wrote a post on how to protect our apps and servers from such problems. You can check it out in post titled: Simple Ruby(Rails) Passenger memory consumption limit monitoring
Social Media Monitoring Gem published
I just launched the social media monitoring gem. It connects to my API and it offers: * sentiment analysis (it’s basic at this point, however, it supports 6 different languages) * keyword tracking (SERP) * competitor search (while in beta launching in Germany, soon to launch in the USA) * Review tracking (Qype, Pointoo, Yelp, Tripadvisor, Golocal, wowarstdu.de, hotels.com and many others)
An introduction to RepoManager, batch management of multiple Git repositories
Presenting RepoManager, a Ruby command line interface for batch management of multiple Git repositories.
RubyStack now with Rails 3.2.7 and Varnish
We just launched BitNami RubyStack 3.2.7. It simplifies the development and deployment of Ruby on Rails applications for development, testing and production. It can be deployed using a native installer for Windows, OS X or Linux, as a virtual machine or in the Amazon cloud. Thanks to the Amazon Free Tier, you can try BitNami RubyStack in the cloud for free during one year. [more inside]
API Taster 0.5.0 Released
API Taster is useful for visually testing your Rails application’s API. Version 0.5.0 has just landed with support for describing and adding metadata to API endpoints. Adding metadata is useful for say, adding response expectations so that your test suite could tap into them. :)
Parsing for Ruby that’s so easy it feels like cheating.
I ‘m ready to share Rattler with the community. [more inside]
Rails ActiveRecord - Batch Updates
A little information on Rails ActiveRecord - Batch Updates. Better than iterating over collections.
Upgrading to Mountain Lion, a complete guide for Rubyists
Complete guide of upgrading to Mountain Lion for fellow Rubyists. It not only suggests, how to fix Ruby, RVM etc - but I have also documented some minor ML specific problems you may encounter.
How To Create Terminal Progress Indicators In Ruby
A short post explaining how to display progress indicators in the terminal. Examples include percentages, progress bars, and spinners.
Testing custom SimpleForm inputs
Details about testing custom SimpleFrom inputs using RSpec with a real world example.
Less Code, More Speed
I ran speed tests with various web servers and configurations and found, yet again, that less code yields the most gains. For example, by removing Sinatra. (Tested using Picky, the clever Ruby semantic search engine)
Ruby Constructs: Class, Module and Mixin
I wrote an overview of some of the basic Ruby constructs such as class, module and mixin.
Get Previously Saved Changes in Rails
If you make changes to an object you can get the previously saved changes in Rails. Use it to make an audit trail or something else equally useful. Go forth and make changes!
Install Ruby 1.9.3 on OS X 10.8 Mountain Lion
I just launched a tut to install Ruby 1.9.x on the new Mac OS X Mountain Lion without any version manager.
Rack Authentication Cheat Sheet
I just wrote some real usable examples and docs for Rack::Auth::Basic and Rack::Auth::Digest::MD5. Save yourself some time reading the source code and read my cheat sheet example code instead.
Manage Your Raw Flash Storage Data with ITTIA DB SQL
ITTIA DB SQL eases data retrieval by storing database directly to SPI device and supplying raw storage flash media with robust data management capabilities through SPI. This results in storing data – even large images and music - in table rows that are efficiently queried, with or without SQL.
Synack: Mountain Lion Notifications via Ruby
Synack is a client/server wrapper for Terminal Notifier that allows messages to be sent from Ruby programs to Mac OS X Mountain Lion’s Notification Center. Check the README at https://github.com/Bantik/synack for prerequisites, then install using gem install synack. Great for piping Rspec results to OS X, and it even works across the network. Enjoy!
Master Time and Space for JavaScript
A new ebook on JavaScript that might be of interest to Rails programmers, details at http://www.noelrappin.com/mstjs-faq/
What You Should Know About SOLID
Did you always wonder what that whole SOLID thing is all about? Why everyone is shouting at you for violating the Law of Demeter (you won’t go to jail for that one, by the way)? And did you talk about soccer when people mentioned the Liskov Substitution Principle and looked at you confused? Then read on!
Ruby with MongoDB for Web Development
The article “Ruby with MongoDB for Web Development” by Gautam Rege will walk you through modeling a Ruby application, learning various constructs of MongoDB, and then integrating it into Rails and Sinatra.
The differences between dup and clone in Ruby
I just wrote a quick explanation with examples of the differences between copying and cloning a Ruby object. I’ve also added a quick explanation of shallow object copying.
auto_html 1.6.0 released
auto_html 1.6.0 is out with fixes and few new filters. Check them out on a new demo page.