---
title: "This week's Ruby news, issue 252"
publication: "Ruby Weekly"
issue: 252
published_at: "2015-06-25"
canonical_url: "https://rubyweekly.com/issues/252"
---

This week's Ruby news, issue 252

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/252)

Ruby WeeklyIssue 252 — June 25, 2015

Kasper Timm Hansen[Drat - Ruby has a Double Splat](https://dev.firmafon.dk/blog/drat-ruby-has-a-double-splat/)A look at what `**` can mean in different contexts, including using it for interpolation (of sorts), alongside keyword arguments, and capturing arguments generally.


Justin Weiss[How to Preload Rails Scopes](http://www.justinweiss.com/blog/2015/06/23/how-to-preload-rails-scopes/)An interesting way to avoid N+1 queries. “If a scope starts to cause you trouble, wrap it in an association and preload it. It’s not much more work, and it’ll save you a bunch of SQL calls.”


Pat Shaughnessy[Don’t Let Your Data Out of the Database](http://patshaughnessy.net/2015/6/18/dont-let-your-data-out-of-the-database)“Don’t let your data out of the database until you need to… until you have just the values your application really needs.” Pat Shaughnessy looks at the benefits of letting your database take the strain instead of Ruby.


DeisSponsored[Unleash your code with the leading Docker PaaS](https://deis.com/learn)Deis is an open source self service platform that makes it easy to deploy and manage applications on your own servers. Deis builds upon [Docker](http://docker.io/) and [CoreOS](https://coreos.com/) to provide a lightweight PaaS with a flexible workflow. Learn more about Deis!

[![Deis\](http://s3.amazonaws.com/nlga/uploads/item/image/39178/i.png)](https://deis.com/learn?utm_source=rubyweekly&utm_medium=email)


Luca Guidi[Announcing Lotus v0.4.0](http://lotusrb.org/blog/2015/06/23/announcing-lotus-040.html)Lotus is a Web framework that appears to be making quite a few inroads lately. 0.4.0 seems to be a big release with database migrations, HTML5 form helpers, CSRF protection, and other features coming in.


Franck Verrot[Holycorn: PostgreSQL Multi-Purpose Ruby Data Wrapper](https://github.com/franckverrot/holycorn)Holycorn makes it easy to implement a Foreign Data Wrapper for Postgres using Ruby. It’s built on top of mruby.


Starr Horne[Bitwise Hacks in Ruby](http://blog.honeybadger.io/bitwise-hacks-in-ruby/)A quick look at bitwise operations in Ruby - used for manipulating data at the bit level. If this area intrigues you, I also made a [ten minute video](https://www.youtube.com/watch?v=Nm4u3kCEKo8) on the topic.


Ken Collins[Rails Multi-Database Best Practices Roundup](http://technology.customink.com/blog/2015/06/22/rails-multi-database-best-practices-roundup/)A look at some of the approaches you can use to keep your app running smoothly when connecting to multiple databases simultaneously.


Timecraft[How to Use Form Objects with Rails](http://readysteadycode.com/howto-use-form-objects-with-rails)Form objects are an informal pattern for separating validation and persistence logic to reduce the complexity of your models.


Jobs

- [Senior Backend Engineer at Drivy (Paris, France)](https://jobs.lever.co/drivy/08071b26-a86d-4e04-8a9d-1163da98bb3d?utm_source=rubyweekly&utm_medium=email)We're building the #1 peer-to-peer car rental service in Europe and we're looking for an experienced Ruby developer to help us tackle some exciting challenges! Drivy
- [Expert Ruby Instructors at Pluralsight (Freelance-Part-time)](http://www.pluralsight.com/teach?utm_source=rubyweekly&utm_medium=email)Currently hiring expert Ruby Developers that want to share their knowledge with a global audience. As a Pluralsight author, you'll join a tight knit family of passionate teachers and earn royalties. We are looking for the best communicators and presenters in the Ruby community. Apply today. Pluralsight
- [Want to work on new projects? Make more money? Try a new stack? Relocate?](https://hired.com/?utm_source=newsletters=rubyweekly=n-q2_15-petercooperpress=options)On Hired, we'll bring the options to you. With over 2,000 pre-screened tech companies in 10 cities in the US UK, you'll be sure to find what you're looking for. Join Hired today. Hired.com

In brief

- [Code Climate Launches a new Open Source Platform for Static Analysis](http://blog.codeclimate.com/blog/2015/06/19/code-climate-platform/?utm_source=rubyweekly&utm_medium=email) news 
Also is [bringing static analysis to RubyMotion.](http://www.rubymotion.com/news/2015/06/19/rubymotion-codeclimate.html) Code Climate
- [Using the Rails 5 Attributes API Today, in Rails 4.2](https://blog.nvisium.com/2015/06/using-rails-5-attributes-api-today-in.html?utm_source=rubyweekly&utm_medium=email) tutorial Ernie Miller
- [Optimizing Full Text Search with Postgres tsvector Columns and Triggers](https://robots.thoughtbot.com/optimizing-full-text-search-with-postgres-tsvector-columns-and-triggers?utm_source=rubyweekly&utm_medium=email) tutorial Thoughtbot
- [Integrating Braintree Payments with Rails](https://shellycloud.com/blog/2015/06/integrating-braintree-payments-with-rails?utm_source=rubyweekly&utm_medium=email) tutorial Shelly Cloud
- [Refactoring Rails Applications with the RubyMine IDE](http://blog.jetbrains.com/ruby/2015/06/webinar-recording-refactoring-rails-applications-with-rubymine/?utm_source=rubyweekly&utm_medium=email) video JetBrains
- [Python, Ruby, and Go: A Command-Line Application Comparison](https://realpython.com/blog/python/python-ruby-and-golang-a-command-line-application-comparison/?utm_source=rubyweekly&utm_medium=email) opinion Kyle Purdon​
- [Lotus - One Year Later](http://dev.mikamai.com/post/122331210664/lotus-one-year-later?utm_source=rubyweekly&utm_medium=email) opinion 
Some reflections on Lotus (mentioned above) from a user. Nicola V. A. Racco
- [Ruby Refinements – Not Quite Ready for Production](http://6ftdan.com/allyourdev/2015/06/21/ruby-refinements-not-quite-ready-for-production/?utm_source=rubyweekly&utm_medium=email) opinion Daniel P. Clark
- [Codeship: The fast and customizable Continuous Delivery platform](https://codeship.com?utm_source=rubyweekly&utm_medium=email) tools 
Codeship is a hosted Continuous Integration and Delivery platform focusing on speed, security, and customizability. Join customers like CareerBuilder and start testing and deploying your Ruby projects with Codeship today. CodeshipSponsored
- [mruby-r: Use (m)Ruby for Returning Data to R](https://github.com/franckverrot/mruby-r?utm_source=rubyweekly&utm_medium=email) code Franck Verrot
- [Coach: An Alternative to Rails Controllers](https://gocardless.com/blog/coach?utm_source=rubyweekly&utm_medium=email) code 
“At GoCardless we’ve replaced all our controller code with Coach middlewares.” GoCardless
- [HashIdentable: Adds A #uuid Method to Your Model Classes](https://github.com/octaviuslabs/hash_identable?utm_source=rubyweekly&utm_medium=email) code Octavius Labs LLC
- [Filterrific: A Rails Engine for Filtering, Searching, and Sorting of ActiveRecord Lists](https://github.com/jhund/filterrific?utm_source=rubyweekly&utm_medium=email) code 
There’s a [live demo](http://filterrific-demo.herokuapp.com/students) too. Jo Hund

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Unsubscribe](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/252)

© Cooperpress Ltd. Office 30, Lincoln Way, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
