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.
Precompiling Rails Assets for Development
I just wrote a blog post about speeding up Rails development by precompiling the assets in development environment.
Command Line Reporter 1.0 Released
I am releasing the first version of Command Line Reporter. It allows you to control the output of your ruby scripts using formatters just like RSpec does displaying the results of your tests. The result is cleaner code that is not polluted with unreadable puts and print statements with hard to track whitespace. The gem is available on rubygems.org with source on <a href=https://github.com/wbailey/command_line_reporter”>github</a>
Starting a Series on Geospatial Rails
I’m starting up a series of articles on doing geospatial programming in Ruby and Rails, using RGeo and related libraries. The first two articles are now up: Geo-Rails part 1: A Call to Revolution and Geo-Rails part 2: Setting Up a Geospatial Rails App.
Example Capybara Acceptance / Integration Test
I finally figured out how to setup an acceptance test with Capybara so I wrote some notes down on how to do it. Its actually not too hard, and IMHO totally worth it.
I just launched JSONBuilder 3.0 with a much friendlier DSL
I just launched version 3 of my gem JSONBuilder and was hoping to get some user feedback, especially from those who have used JSONBuilder in the past.
wash_out: SOAP Server on modern Rails
WashOut is a gem that greatly simplifies creation of SOAP service providers. A SOAP endpoint in WashOut is simply a Rails controller which includes the module WashOut::SOAP. Each SOAP action corresponds to a certain controller method; this mapping, as well as the argument definition, is defined by straightforward DSL described at README. Requires Rails >= 3.1 and Ruby 1.9.
Search from a hash of ranges efficiently with RangeHash
RangeHash provides an efficient hash that allows ranges to be keys and searched given an element within those ranges. With syntax that should familiar with developers, one can search and add callbacks when searching for an element within a collection of ranges.
moxy - the programmable mock proxy
Check out moxy - a programmable mock proxy built with Sinatra.
Easy way to extend and overwrite bb-ruby bbcode gem translations in Ruby on Rails
I just found an easy way to extend and overwrite bb-ruby bbcode gem translations in Ruby on Rails. This allows you to implement your own rules really easily. Check it out!.
E-book proposals
I need your help with picking a topic for my Ruby-related e-book: one question
rails_best_practices 1.5.0 released
I just launched rails_best_practices 1.5.0, it supports mongoid and cells, implements a better erb parser, check out the changelogs here
What was a Classic Tester Became a Mockist…
Short post about the difference between assertions and expectations and why I started listening to Mock’n’Roll.
DCI that respects the method cache
We’ve been talking about DCI (Data Context Integration) more lately with regard to Rails. However, the techniques presented to date have not necessarily been optimal for Ruby performance, dissuading some people from taking up DCI. This article may shed some light on a super-simple way to have our cake and eat it too.
Open-Source RubyFlow codebase upgraded to Rails 3.1
I upgraded Peter Cooper’s 2008 release of the RubyFlow codebase to Rails 3.1, and made many other modifications. Check out a working implementation on my new site: iOS Dev Links. The source code is available on GitHub.
Twitter Authentication using OmniAuth
I just found a gem which worked with OmniAuth and twitter .
Practicing Ruby Journal: Three months in and still going strong
To celebrate the fact that it’s been a full quarter of a year since I relaunched my subscription based weekly journal Practicing Ruby, I have publicly released our three most popular articles. In that same post I’ve made an attempt at explaining what makes this project a unique learning resource / experiment in social responsibility.
Ask your Ruby-related questions to these experts
RubyLearning is assembling experts in various areas of Ruby programming who will answer your questions as an “Ask An Expert” series of blog posts there. Post your questions as comments to that blog post.
Projit - a clean ~/ keeps a development environment together
Projit is a utility to specify directory structures for the different types of projects you work on and consistently generate them. It very nicely supports creating directories and files, copying directories and files, symlinking to Dropbox and cloning source code directly from any git repository. In other words, Projit brings the goodness of Thor generators to help automate your development environment. Check it out on Github
Ruby GitHub Projects Atom Feed
I wrote a little program that generates an Atom feed out of GitHub’s new Ruby repos page.
Rails Caching Reloaded
Various rails cache store options are evaluated Hit/Miss performance is compared between file_store, mem_cache_store, dalli_store, redis_store and mongo_store.
Using Jenkins with RVM and Rails
I just published an article on using Jenkins with RVM and Rails. It also includes details on using RSpec and Cucumber HTML formatters and serving up the output in Jenkins, instead of digging through the console output
gem Emailvision
Whether you are a ruby user or a rails user, this gem is definitely for you if you work with Emailvision. Website. Emailvision is an email marketing platform where you can manage your campaigns, event emails (birthday, subscriptions, …), and even transactional emails (password forgotten and so on)
postbin v0.1.0
I just released the initial version of PostBin (still a little rough round the edges). [more inside]
resque-retry v0.2.1
I’ve just released v0.2.1 of resque-retry. Please see the HISTORY.md file for details about what’s changed. Big thanks to the users of resque-retry, they are the people who made this release possible with their pull requests and bug fixes! Well done!