---
title: This Week in Open Source
teaser:
tags: news,open source
author: Gabe Berke-Williams
published_on: 2012-04-13
---

## clearance

Gabe Berke-Williams ([gabebw](http://github.com/gabebw) - that’s me!) cleaned up the [clearance](https://github.com/thoughtbot/clearance) Rakefile a bit ([4f016db](http://github.com/thoughtbot/clearance/commit/4f016db60e8c89a97a6cd9f07d11d9e273c80704 "Clean up Rakefile.")).

## factory\_bot[^1]

Joshua Clayton ([joshuaclayton](http://github.com/joshuaclayton)) released version 3.1.0 of [factory\_bot](https://github.com/thoughtbot/factory_bot) ([f1d3018](http://github.com/thoughtbot/factory_bot/commit/f1d30189387197d4d9cc01216c68dcd1e398878c "Bump version to 3.1.0")). For the full list of changes, see the [NEWS file](https://github.com/thoughtbot/factory_bot/blob/main/NEWS.md). Josh updated a few dependencies too ([20becc9](http://github.com/thoughtbot/factory_bot/commit/20becc9a4d8a09f38ace1bcaaf0965d00567b1f1 "Update appraisal"), [29157d6](http://github.com/thoughtbot/factory_bot/commit/29157d69f867496f2566fd24e0a5b53d48d8f32c "Update Cucumber")). Kristian Mandrup ([kristianmandrup](http://github.com/kristianmandrup)) added the ability to alias sequences, just like you can alias factories ([f387e38](http://github.com/thoughtbot/factory_bot/commit/f387e3865f0b7db45c5bc405cdbcfda6876500c0 "sequence can now have multiple aliases"), [178a7ab](http://github.com/thoughtbot/factory_bot/commit/178a7ab3f46303634b12ee247e1806d746f1c1fa "multi sequence via optional aliases option")). To see how to use it, see the documentation ([f013335](http://github.com/thoughtbot/factory_bot/commit/f013335826bab7486ce8174958a797e27cd956de "updated Getting Started with docu on new aliased sequence functionality")) he added for it. I love documentation pull requests.

## factory\_bot\_rails[^1]

Joshua Clayton ([joshuaclayton](http://github.com/joshuaclayton)) bumped [factory\_bot\_rails](https://github.com/thoughtbot/factory_bot_rails) to version 3.1.0 ([4259e4c](http://github.com/thoughtbot/factory_bot_rails/commit/4259e4cafb383c6b84e14423ba6c351c2cb001a6 "Bump version to 3.1.0")) to match factory\_bot’s new version.

## paperclip

Prem Sichanugrist ([sikachu](http://github.com/sikachu)) released version 3.0.2 ([240147e](http://github.com/thoughtbot/paperclip/commit/240147ef3274326a73c71c1fada9ff5297a5805f "Bump to 3.0.2")) of [paperclip](https://github.com/thoughtbot/paperclip). Unfortunately, the NEWS file hasn’t been updated for 3.0.2 yet. Prem removed an obsolete generator, then added a test for it ([a2a4c7a](http://github.com/thoughtbot/paperclip/commit/a2a4c7a1355c758dff2012d13cb1d2df6b4bc73d "Remove obsolete generator"), [03700c8](http://github.com/thoughtbot/paperclip/commit/03700c86970cdc3717398f1e9dc382222d5632fe "Add test for generator")). Preston Guillory ([pguillory](http://github.com/pguillory)) fixed a typo ([853595a](http://github.com/thoughtbot/paperclip/commit/853595a66513aae692e535200338215a97ba4adc "Fixed a typo in README.md.")). Typo fixes are always welcome! Michael Galero ([mikong](http://github.com/mikong)) pluralized the table name in the migration generator to follow Rails convention ([28e2d1b](http://github.com/thoughtbot/paperclip/commit/28e2d1ba3fea0e23a63d3ff46cd105a4148af197 "Pluralize generated migration class and file name.")). And Rafael Mendonça França ([rafaelfranca](http://github.com/rafaelfranca)) removed `init.rb`, since plugins will be deprecated in Rails 4.0 ([ae7b7c5](http://github.com/thoughtbot/paperclip/commit/ae7b7c515d64d72d1397a26c804ac656f079e454 "Remove init.rb since plugins were deprecated and we don")).

## shoulda-matchers

Gabe Berke-Williams ([gabebw](http://github.com/gabebw) - me again!) finally released a new version of [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers)! Version 1.1.0 has a bunch of changes that you can see in the [NEWS file](https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md). One of the noteworthy changes is that shoulda-matchers now depends on ActiveSupport >= 3.0.0 ([= 3.0.0.&#10;&#10;Remove some Rails 2.1.x code.">c65e43a](http://github.com/thoughtbot/shoulda-matchers/commit/c65e43a99932aee753f9e719c7ea7726c9cc7e26 "Depend on activesupport ")), meaning it’s Rails 3-only. We’ve been only testing against Rails 3 for a while, so this just makes it official. Gabe made a couple of documentation fixes ([9203275](http://github.com/thoughtbot/shoulda-matchers/commit/92032754521d02f1d7eb48e5d1673107ae191e8e "Formatting."), [8fcc3d2](http://github.com/thoughtbot/shoulda-matchers/commit/8fcc3d21e91e186b06a6045676ddfee1a41a9413 "Update NEWS file."), [a4edff0](http://github.com/thoughtbot/shoulda-matchers/commit/a4edff02baeee5345e69c415dd5fb2ee9584bdbf "Proper Markdown.")) and also cleaned up the code ([5873502](http://github.com/thoughtbot/shoulda-matchers/commit/5873502d0b978e799517c31c7af0eb1489a39f1c "We don"), [41088bc](http://github.com/thoughtbot/shoulda-matchers/commit/41088bc0703821abd3684b283991a1679d6d6655 "Clean up Rakefile."), [3039cc6](http://github.com/thoughtbot/shoulda-matchers/commit/3039cc67b057df3839461d3dcb23a8165b9cae4c "Alphabetize."), [820f216](http://github.com/thoughtbot/shoulda-matchers/commit/820f2167b65cec9ef29ea96a63b1cb743bc49bb1 "Freeze VERSION constant."), [2e73b35](http://github.com/thoughtbot/shoulda-matchers/commit/2e73b351bbba006693d73eb26c2887cbbb03afbd "Clean up a bit."), [457be62](http://github.com/thoughtbot/shoulda-matchers/commit/457be629ab4ef1dbdd619a5f7e4f744cd286d78c "Clean up cucumber.")). Brendan Loudermilk ([bloudermilk](http://github.com/bloudermilk)) added an `accept_nested_attributes_for` matcher ([ee74222](http://github.com/thoughtbot/shoulda-matchers/commit/ee7422280dc91b758b90303ab035159c622bae80 "Adds accept_nested_attributes_for matcher&#10;&#10;Currently supports the options ")).

## this-week-in-open-source

Finally, Gabe Berke-Williams ([gabebw](http://github.com/gabebw)) fixed a little bug in [this-week-in-open-source](https://github.com/thoughtbot/this-week-in-open-source) (which I used to generate this post!) to print missing directories before doing anything else ([564c7c9](http://github.com/thoughtbot/This-Week-in-Open-Source/commit/564c7c979c3dce7ca6e994c52ad6367a6e61ae91 "Print missing directories before running script.")).

[^1]: Looking for FactoryGirl? The library was renamed in 2017.
[Project name history can be found here.](https://github.com/thoughtbot/factory_bot/blob/master/NAME.md)
