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.
Ruby/Rails centric Vim with support for Git, RVM and more!
I’ve been using Vim for Ruby/Rails development for the past 9 months and have tuned it to the point where I am significantly more productive than I was with Netbeans IDE. Here is my vimfile configuration.
Unofficial Ruby on Rails 3 style guide
I just finished writing the first draft of an Unofficial Ruby on Rails 3 style guide. Hopefully someone will find it useful. Any feedback will be appreciated!
Introducing Spinach: An alternative to Cucumber
We just launched Spinach, a new BDD framework focused on step reusability and modularity and wrote an article about it.
X-Request-Id tracking and TaggedLogging in Rails
I just posted about X-Request-Id tracking and TaggedLogging in Rails3.2.
New cached_resource gem caches ActiveResource responses
The cached_resource gem was just released today. “CachedResource helps ActiveResource by caching responses according to request parameters. It can help reduce the lag created by making repeated requests across the network.”
Sending Devise Emails With Delayed_job
I posted an article about using delayed_job for sending Devise’s password reset email in the background.
Faster Web vs. TCP Slow-Start
For most web-browsing use cases, an internet connection over several Mbps offers but a tiny improvement in performance - don’t waste your money on that high-bandwidth connection! Oh, and learn a few tips on how to build a faster web and web-services.
Sustainable Web Services
Flying Sphinx just became profitable - but it’s not yet sustainable (and yes, I realise that’s a word that gets thrown around a lot). I wrote up some of my thoughts on what a sustainable web service could look like - and would love feedback and differing viewpoints.
Setting Up Jasmine For Your Rails App
In this video, we use the jasminerice and guard-jasmine gems to setup our continuous JavaScript testing suite. Then we write a few example specs in CoffeeScript for a backbone.js model.
Fukuoka Ruby Night
Ruby event on November 3, 2011 at MacKenzie Room, Stanford University. Program will include, 1) keynote speeches by Yukihiro “Matz” Matsumoto and Derek Collison, CTO, VMware Inc. and 2)Silicon Valley Ruby Innovator Award Competition, a preliminary competition for the 2012 Fukuoka Ruby Award. Please check the details from the following link and register for the event. Fukuoka Ruby Night
Do Gem Downloads Really Correlate with Gem Usage?
Loren Segal analyzes the GemStats.org and NewRelic data. Survey Says: No
Rackable is Dead, Roy is Born
Some of you may remember that I released Rackable more than two years ago. While it has a lot of followers on Github, the project has been quite dead^Wcalm for a long time. I just rewritten it to be more modern (it uses Bundler, Minitest) and user-friendly (a gem is provided). See the updated project page on Github.
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.
Data safety and GIL removal
Read more about what GIL removal means for data safety.
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:
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]