You have disabled auto-rotation for stories. Re-enable?
Take your Rails development skills to the next level with Code School's Rails Best Practices course. Learn new techniques from high quality videos, apply what you've learned directly in your browser, earn points, and win prizes. Start building beautiful Rails applications and have more fun while doing it.
Rails 3 made it very easy to write your own engine powered Gems, and Jose Valim's EngineX gem made it even easier. EngineX allows you to generate a template of an engine Gem, and Ryan Cook wrote up a tutorial showing you just how easy it is. The cool part about it, is that EngineX is baked right into Rails 3.1, releasing shortly.
More websites are picking up on two-factor authentication, where a website requires two pieces of information to log in: One being your normal password and the other a time-sensitive code that’s sent to you via email, SMS, or email. Richard Taylor wrote up a tutorial recently showing how to implement two-factor authentication into a typical Rails app. In his example he requires the user to do the two step validation via email every-time they log into the website using a new device.
Pedro Mateus Tavares has been developing an open source app called Universitas, which is an advanced implementation of google groups. He’s asking for more help building out the app, and encouraging developers to use it as a practice ground to try new techniques and experiment on a green and open project. It could serve as a good sample app or for just a good code read, and it even has a full test suite.
If you want to convert your application between the old 1.8 hash syntax (using the hash rocket) and the new 1.9 hash syntax (using the colon) you may want to checkout the hash_syntax gem by Michael Edgar. Not only does it convert from 1.8 to 1.9, but it also converts back from 1.9 to 1.8 for all the haters.
These days we use Bundler to describe our application’s gem dependencies, but gems aren’t the the only thing our applications depend on to run. Your application also has service dependencies like mongodb, imagemagick, sphinx, or redis. For developers using OSX and Homebrew Andrew Nesbitt recently created Brewdler, which allows you to keep your application dependencies in one file (a Brewfile) and install them with one command (brewdle install).
Adhearsion is the best way to write voice-enabled applications with Ruby, and this week Ben Klang created a nice screencast showing off one of the newer features, the Adhearson console. The console allows you to easily grab incoming calls and run commands on them, which could be real useful for debugging.
If you're writing up an API you may find yourself overriding ActiveModel's as_json or serialized_hash methods. Things can get sloppy, especially when you have to rename fields for the API or start sending view concerns into your model, like user roles for instance. This is where RABL comes in, providing you a tempating system for generating JSON and XML at the view level.
As Caike mentions (in Portuguese) Rubyconf Brazil is taking place November 3 and 4th, and he hopes to see you there.
Ruby5 is released Tuesday and Friday mornings. To stay informed about and active with this podcast, we encourage you to do one of the following:
GitHub releases an awesome mac app, Cucumber goes 1.0, reverse engineering server configs with blueprint, Modernizr-Rails, protcting your rack, JQuery-graphie, Nordea gem for currency conversion, ruby-units, and a shoutout to Frozen Rails.. Brought to you by NewRelic with the melodious voices of David Bock and Ryan McGeary.
Put down the Ice and whip out your REXPL, it's time for a Codebrawl Event. But, if you're not careful, Alf might just beat you down, you Eco-freak. It's Ruby5.
ValidAttribute 1.0 released, Rails Initialization guide, Capybara 1.0 released, Automatic Login Links how-to, "What's Up With All These Changes in Rails?" post by Yehuda Katz, and Fabrication 1.0 released.
If only someone could Manage these Candidates. You know, give 'em the ole' TorqueBox right in the Kazoo. Knock 'em off their Fixtures. Give 'em the Works! That's my Opinio, anyway. It's Ruby5.
Looking to learn about Ruby? Take a look at the Ruby Path on Code School
This podcast is produced and distributed by Code School. Copyright © 2015 Code School LLC