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.
RubyMonk!! Learn Ruby!! @rubymonk
Just found a WebApp to Learn Ruby! RubyMonk is an interactive platform that helps you master Ruby!
Ruby SSL: Certificate Verify Failed
A quick post showing how to fix the read server certificate B: certificate verify failed SSL error.
IndexTank – So long and thanks for all the fish!
LinkedIn has acquired hosted search startup IndexTank. IndexTank is a real-time, hosted search engine service that allows developers to quickly build search-based applications without having to worry about hosting their own search software. IndexTank’s features include: real-time feed indexing, instantaneous availability of search data, geo search, automatic faceting, range search and instant insights about indexed data from search. [more inside]
Named Routes in Javascript - LessJsRoutes updated
I just updated LessJsRoutes to work with rails 3. It let’s you have named routes in your javascript. Check out the blog post here: http://b.lesseverything.com/2011/9/15/named-routes-in-javascript-lessjsroutes-updated
Backbone-rails (a.k.a. the "rails-backbone" gem)
Trying to figure out how to put backbone.js into your Rails project? This video takes a quick look at the backbone-rails project which can help you bootstrap your app.
Mendicant University's Hackfest for Grea...
Mendicant University’s Hackfest for Great Justice is happening this weekend (Oct 21-23). We’ve teamed up with three organizations that are dedicated to positive social change, and are looking for volunteers to help out with these projects over the weekend. So if you’re in the mood for writing some code that will make a positive impact on the world, please join us this weekend!
Rails3.1 with compass, sass and twitter-bootstrap using the asset pipline
Setup Rails3.1 with Compass, SASS, Twitter-bootstrap without any load_path hacks.
Spec helpers, Bundler.setup and faster Rails test suites
I published an article about slow spec helpers and loading dependencies in your Rails models, controllers, and initializers instead of letting Bundler pre-require everything all the time.
Gem to automatically set I18n.locale based on user's browser language
A while ago I’ve created a locale_detector Ruby gem to automatically set I18n.locale based on the language of the web browser that the user is using. It comes very handy when you want to support multiple languages in your web application as it takes care of the language switching (i.e. now you don’t need to put the language switcher on every page).
Apotomo – Screencasts Of Glory – Episode 4: Partial Updates
In this screencast we learn how to use the event instance as a messaging object between widgets and how to partially update the page without having to re-render the entire widget.
renee - The super-friendly rack framework
Renee is a friendly ruby web framework that draws its inspiration from Sinatra. Check it out at http://www.reneerb.com or fork it on Github.
Inject: Temporarily extend the calling scope of a block.
inject can be used to temporarily extend the calling scope of a block with instance methods from a module. [more inside]
Saw that Pfeed (Automagical Feeds) is now available for Rails 3.x
I just found that pfeed has been ported to Rails 3.1. You need Pfeed when you want to automagically create fancy logs / activity updates in your rails app, asynchronously.
Communication in Engineering, Software, and Open-source
Not strictly ruby, but I wrote this based on my experience developing open-source ruby and javascript projects in mind. Communication in Engineering, Software, and Open-source.
Search Youtube with ease
Ruby YouTube Search a siple gem (no dependencies) for a simple task. YoutubeSearch.search(‘lolcats’, ‘orderby’ => ‘viewCount’, :per_page => 3, :page => 1)
rolify: roles library with resource scoping
I just released rolify 1.1, this ruby gem provides a simple way to manage different kind of roles in your application. Let say you don’t want just global roles in your application and/or you don’t want them to be hardcoded. Rolify allows you to define 3 role scope levels: [more inside]
bundler-auto-update: Auto-magi-safely update your Gemfile.
I just released bundler-auto-update, a ruby gem that updates all gems listed in your Gemfile to the most recent version that does not break your tests.
Turn Urls into image/videos tags
Url-To-Media-Tag converts e.g. user-submitted urls into images and videos UrlToMediaTag.convert(‘http://www.youtube.com/watch?v=kW-dS4otEZU’) # -> <iframe …>
A quick and dirty Rails development environment using ubuntu 11.10
I have a quick setup for getting up to speed with the latest versino of ubuntu. [more inside]
Simple Nginx tuning for production server
Simple nginx tuning for rails application on production server
The Resque Way
Bogdan Gusiev walks through lessons learned using Resque in production at RailsWare.
Fast specs - Run your specs in less than 1 second
I run my specs in just under a second. How fast are your specs? Read more here http://ariejan.net/2011/10/13/fast-specs-run-your-specs-in-less-than-1-second
Gitlab released. A similar to github application but for your servers with private repositories only
Gitlab released. A similar to github application but for your servers with private repositories only. http://gitlabhq.com