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.
DCI: The King of the Open/Closed Principle
In DCI: The King of the Open/Closed Principle, I look at how DCI guides developers towards following the open/closed principle. OCP is baked into the core of DCI!
Just released Juno 0.3.0
I just released Juno 0.3.0. Juno provides a standard interface for interacting with various kinds of key/value stores. Juno is based on Moneta and replaces it with a mostly compatible interface but supports much more features and backends.
Rails Tips part 2
Just blogged with some Rails tips which may or may not make your life easier Rails Tips part 2.
Ruby, Smalltalk and Class Variables
Last week I decided to look into the details of how Ruby implements class variables, and ended up learning all about Smalltalk instead :) [more inside]
OAuth too big? Try SSL Authentication.
OAuth is great… sometimes a little too great. When the bells and whistles of OAuth aren’t worth the hassle of building your own provider, consider SSL Authentication. Collective Idea outlines the approach in their latest blog post.
Complete lineup for day 2 of La Conf Paris 2013 announced
With an emphasis on practical demonstrations instead of long technical talks, Jon Leighton, Geoffrey Grosenbach, Katrina Owen, Jeremy McAnally, Avdi Grimm, Amy Hoy, Randall Thomas and Tammer Saleh will be showing us what they’re made of, live on the 10th May 2013 in Paris. [more inside]
A story of PROMPT_COMMAND and RVM
I just published A story of PROMPT_COMMAND and RVM.
How to fix “Undefined method ‘visit’” with Capybara 2.0
Learn how to upgrade your integration tests to Capybara 2.0
Get your (minitest) specs on with capybara
Ever wanted to get capybara working with minitest spec on a rails project but didn’t know how to start? Well, here’s a how to with not one but two ways of getting it all to hang together……Rails 3.2, MiniTest Spec and Capybara.
Exchange – a money and exchange library in decimals
If you’re into money, like decimal values and want to say: 1.in(:usd).to(:eur), head over here. Have a moneyful day!
How I find out a memory leak in grape
I shared my story to fix a ruby symbol memory leak in grape gem, it also told you one way to detect the memory leak.
Sunsap -- Objects That Talk to Themselves
I just made a post about my new library.
New HTML5 Form Input Helpers in Rails 4
I just wrote up a blog post about the new HTML5 additions to Rails 4
Ruby HTTP Client Showdown
I just did a quick comparison between Excon, Patron, Typhoeus, Typhoeus Hydra mode, Net::HTTP, and Curb. See it here
Towards a Common Ruby definition
Although I’m not directly involved in any Ruby implementation, I’ve been in the community for a better part of a decade and want to see us spend less time on politics and more time on evolving an awesome language. Here’s my two cents on how I think we can attain a Common Ruby definition in a pragmatic way. [more inside]
Los Angeles Ruby Conference 2013
Los Angeles Ruby Conference is coming up! [more inside]
ROA3 | Ruby on Ales 2013 - March 7th & 8th, 2013
I’m happy to announce that the Ruby on Ales crew is putting on our third show. Come visit us in Bend on March 7th and 8th for some great talks, amazing beer and fun wintery activities.
More choices, more concurrency. Introducing JRuby on Heroku
Heroku just launched JRuby into General Availability, read all about it:Run JRuby on Heroku Today.
Setting Local Environment Variables in Rails
A new article from Taylor Mock and the RailsApps Project on Rails Environment Variables shows a bulletproof way to set local environment variables for use in your Rails application without using the Unix shell.
Gem Launch: Service
Service encapsulates an object which executes a bit of code in a loop that can be started or stopped (optionally in a new Thread) and query whether it is running or not.
Faster Rails partial rendering and caching. 78% improvement of test application
Just published a ruby gem to help Rails developers render collections of partials using caching more efficiently. In a nutshell it uses Rails read_multi to fetch cached partials from a cache store like Memcached all at once instead of sequentially. Multi-fetch Fragments. Feedback is greatly appreciated. Please let me know if I can make this better.
Faster assets precompile with turbo-sprockets-rails3
Morning! Crowd Interactive’s weekly blogpost: “Faster assets precompile with turbo-sprockets-rails3” Rails Best Practices!
How to Run Custom Chef Cookbook Recipes During Deploy
Check out how to run custom chef cookbook recipes with deploy. Is this little bit of magic useful to you? If so, then read on!
refactr.it - a community for refactoring code
refactr.it, I had some spare time recently and created a site using ruby on rails to allow interested people to help each other refactor and improve their code. [more inside]
Git Go v0.0.1
Git Go is a small command-line utility distributed as a RubyGem that allows you to easily create/destroy/rename/list all your private-hosted git repositories on your own server. All you need is a small VPS (256MB RAM / 10GB HDD / 1vCPUCore should be sufficient). [more inside]