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.
Ten resources for taking your ruby skills to the next level
The Reverb.com dev blog gives Ten resources for taking your ruby skills to the next level. p.s. We’re hiring.
Toki - helps you implement Ruby version, patchlevel, engine and platform specific code
I just released Toki v0.0.2 to help implement version and engine specific code. This may come in handy when migrating your project to latest version of Ruby.
rvm 1.x - capistrano 3.x integration gem
I just created rvm1-capistrano3 gem, it will work automatically, in most cases no configuration is needed, just add it and be happy with capistrano using your server rvm and project ruby.
Using WebMock gem in tests and web application services
You can us WebMock gem in tests and web application services. See details here.
Social Login Integration With All the Popular Social Networks in Ruby on Rails
I just wrote a sample application which integrates with popular social networks. Blog Post and Demo and source code
Airplay reached 1.0
Airplay gem had a complete rewrite. Now with a lot of features. You can check it out in the README Compatible with the latest firmware of the Apple TV.
Turn No Longer Maintained. New Maintatiner Welcome to Take Over.
Turn, the MiniTest Reporters project, is no longer being maintained, as the original developers have moved on to other priorities and do not have the time to devote to it. Total reign over the project is open to any developer who would like to carry it forward. If no one takes up the project, it will be left to wither and die. That’s okay. That’s life. But it’s a solid project that’s certainly deserving of a new lease on life if anyone wants to pick it up.
Install Ruby on Rails · Mac OS X Mavericks
Here’s the new article: Install Ruby on Rails on Mac OS X Mavericks. Bookmark it for later, even if you are not updating to Mavericks this weekend. This is an article that goes in depth on what to install, what to update, and why.
Optimizing TLS Record Size & Buffering Latency
TLS record size can have significant impact on the page load time performance of your application: keep record size small!
Poper: make sure git commit messages are well-formed
As the name suggests, Poper is partly inspired by tpope. Its purpose: to check whether your commit messages are well-formed and not generic (‘oops, fix tests’). It was written to be used by Pronto, but I can easily imagine other usages also. Check it out: Poper.
try_to: flexible error handling in less than 30 lines of Ruby
As a follow up to a previous prototype, I now released version 1.0 of try_to a flexible error handling mechanism implemented with surprisingly little Ruby.
octo: parallel remote commands
I wrote a small lightweight tool to help make running commands on multiple hosts in parallel simple and easy. It was the result of frustration from working with remote server clusters, and finding deficiencies with pssh (and family). [more inside]
Getting to Know Pluck and Select (ActiveRecord)
Learn about 2 different ways to query for specific fields on ActiveRecord models and the trade offs between them.
Goodbye instance variables!
If the direct manipulation of instance variables bothers you, but you don’t always want to make your getters and setters public, the attr_* methods don’t quite cut it. Here’s a first stab at an alternative: ivar_encapsulation
Phusion Passenger 4.0.21 released, supports OS X Mavericks, JRuby 1.7.6
Using OS X Mavericks or JRuby 1.7.6? This latest release adds support for them. There is also open source Node.js support in this release.
activeadmin cool tweaks
I have been working on activeadmin customization a lot for past few months and have done several customizations apart from a few that are documented on the site, hence would like to share my experience here - activeadmin cool tweaks
Five Steps to Organize Your Translations by Resources
We recently reorganized our Rails translation files. In order to continue using the config/locales directory, we made our changes in a temporary copy of the directory. We then wrote a test comparing the two directories to make sure no translation is lost. You can learn more at the Love With Food tech blog.
New Experimental Feature in Cells: View Models
In Cells 3.9.0 we introduce view models to bring helpers back to object-oriented scope. We also introduce a new DSL to make it easier working with cells.
What to code when you know what you want
Continuing my series on managing presenters and views I wrote What to code when you know what you want.
Git & Issue tracking
Git & Issue tracking (Rails application) integration feature video.
Twitter Bootstrap or Zurb Foundation for RailsApps?
Decisions, decisions. Which front-end framework? I chose Zurb Foundation for the “Learn Ruby on Rails” beginner’s book. And both for the RailsApps project. Read the Twitter Bootstrap or Zurb Foundation? blog post for the details.
Rails Installfest
Our new InstallFest site is up at railsinstallfest.org and the awesome testimonials from our attendees at here