Hashrocket.com / blog

Large roundup

Ruby5 Roundup - Episode 414

posted on and written by Paul Elliott in

Image 100x100 paul elliott

This week I am back on the mic with my favorite Herokai, Matthew Conway, to bring you the latest news in the Ruby and Rails communities in another episode of the Ruby5 podcast. Here is a quick roundup of what's new this week.

http://ruby5.envylabs.com/episodes/450-episode-414-october-25th-2013

casting

https://github.com/saturnflyer/casting

The casting gem is another approach to delegating methods to an \"attendant\" class. Similar behavior can be achieved with SimpleDelegator or by finagling things yourself with Forwardable. The most intriguing thing to me about this gem is the README, which contains an excellent discussion of delegation. If you haven't checked out the Clean Ruby book where much of this comes from, you really should.

autoprefixer-rails

https://github.com/ai/autoprefixer-rails

This gem is a wrapper for the autoprefixer library written in coffeescript that automatically prepends browser prefixes to the css properties that need them. It works with the asset pipeline so you can just include the gem and it will start working.

ivar_encapsulation

https://github.com/citizen428/ivar_encapsulation

The ivar_encapsulation gem makes it easy to have a mix of public and private accessors in your classes. You can declare lists of attributes and toggle the visibility of the getters and setters with some options to the macro.

termit

https://github.com/pawurb/termit

Google Translate is an important part of all our lives at this point. Up until now, we have had to use our browsers to interact with it but the termit gem gives us all the goodness of that service right on the command line. It will even let you speak the translations right from the terminal!

Ruby on Mavericks

http://dean.io/setting-up-a-ruby-on-rails-development-environment-on-mavericks

Wondering how to get a Ruby development environment up and running fast on Mavericks? This blog post from Dean Perry contains a checklist with all the steps to be developing in no time. Copy and paste commands FTW!

So that's it for this episode of Ruby5. If you haven't already, subscribe to the podcast and keep yourself up to date. Thanks for listening!

Posted in Ruby5 Roundup and tagged with Ruby