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.
Twitter Bootstrap Helper
I just released a gem boorstrap_helper. It auto generates twitter bootstrap HTML codes including menu, breadcrumb, notice_message, form and other stuffs.
Yet another JSON terminal gem!
Another gem reimplementing common tasks in a json context is available. This time we are implementing diff. Try it out @ github or just gem install jsdiff. Send in issues if your particular ruby complains! [/o_O]
Data Synchronization in Android Applications for Tablets With Back-End RDBMS
ITTIA DB SQL now provides application developers of Android tablets and mobile devices bidirectional data synchronization capability for connection with any type of back-end enterprise database. ITTIA DB SQL offers unique small footprint architecture, concurrent shared access both for reading and writing, multiple table options, and is the ideal choice for application development at a low cost.
Building a Massive Event-Log Collector with Fluent on Heroku with Splunk
There is a new screencast on “Building a Massive Event-Log Collector with Fluent on Heroku with Splunk”. This demonstrates how you can create an event log collector on heroku for almost free :-) Check this out.
Geo-Rails part 4: Coordinate Systems and Projections
I just posted Geo-Rails part 4: Coordinate Systems and Projections, the fourth installment in my ongoing series on location-based and geospatial programming using Ruby and Rails.
Writing Ruby Scripts That Respect Pipelines
Want to write a Ruby program that behaves like grep, cat, or tail? I wrote an article showing how you can make your Ruby scripts accept input via command line arguments or pipes. I show you how to differentiate your output so that you can output nicely formatted text for terminals, but always send plain text when you’re being piped to another program.
JSON parser gem for the terminal, with COLORS!
Created a JSON prettifier gem for the terminal with COLORS! Check it out at Github. It’s easy to use just pipe the JSON to cjson and behold! [more inside]
Legacy migrations in Rails
I posted some advice on legacy migrations, based on Zach Holman’s article on the same topic a couple of years ago and my own recent experience migrating a few datasets to new applications. I’d appreciate any feedback or additions you might have. Thanks!
New gem: sprocketize
I released sprocketize today. Sprocketize is a command-line utility for the sprockets gem.
bullet 2.1.0 released
I just released bullet 2.1.0, bullet helps you to kill N+1 queries and unused eager loading, it’s a long delay but finally it support rails 3.1.
How to learn Rails
How to learn Rails from the beginner to the expert. This is a collaborative tool, so feel free to add your suggestions, motivating all of them.
New gem: validates_formatting_of
I released validates_formatting_of just a little over a week ago. It gives you basic formatting regex options for validating emails, urls, etc. for your rails projects without writing them yourself or going to find a new regex option every time.
rails_best_practices 1.6.0 released
I just launched rails_best_practices 1.6.0, it adds remove unused methods in helpers check, add mercurial support, check out the changelogs here
Sushi: Capistrano SSH recipe.
For guys who use capistrano for deployment and administrate servers via ssh. Sushi gives you cap ssh power.
Ed: A Domain Specific Language(DSL) that you can use to talk to Git from Ruby.
Ed is a Domain Specific Language(DSL) that you can use to talk to Git from Ruby. It isn’t intended to be a full interface to Git, but a very small subset of one that allows you to profile code from tag A against tag B (for example). Project is very young, so it may have edge cases I haven’t caught, it definitely hasn’t matured (yet) but please try it out if it’d be useful to you(and report bugs :))
JSON formatting on your command line
I wrote this very simple gem for formatting json from the command line. Very useful with curl. [more inside]
MongodbLogger for Rails 3
I just finished my gem MongodbLogger. This gem allow to store all Rails logs into database and give web interface to look on this logs. [more inside]
RubyMine, a Rails 3 photo gallery app
I just launched RubyMine which is a simple Rails 3 photo gallery app for personal use. Simple UI, basic features and zero complexity. Easily customizable and forkable on github.
resque-retry v0.2.2
New version of resque-retry has been released, adding the ability to set per exception retry delays thanks to Dave Benvenuti.
Smooth S3 - A superset of the S3 gem geared towards backup operations
Smooth S3 is a user-friendly superset of the S3 gem geared towards file system backup operations. It greatly simplifies regular file uploads to S3 by using Convention over Configuration™. The library also adds new features such as directory synchronization and timestamped uploads, which should come in real handy to anyone doing backup scripts on a regular basis. [more inside]
Turn any ruby code into a simple daemon with Dante
As part of a not-yet-released larger project that we are working on at Miso for managing service-oriented architectures sprung Dante. In our latest blog post, we detail the usage of Dante to manage starting and stopping daemons created from arbitrary ruby code. Dante manages starting, storing pids, accepting CLI options, and more for a process. We use dante for all process management in our new Gitdocs (open-source dropbox) project as well.
Ruby On REST: Introducing the Representer Pattern
A comprehensive introduction to the new Roar gem which puts focus on object-oriented REST documents with HATEOAS, hypermedia support, client and service usability, fast tests and saving the world.
Adding Kyle Neath's KSS to your project as a Rails 3 engine with kss-rails
I just launched kss-rails and hope it allows you to create style guides just that much easier within your Rails applications.