Episode #293 - July 31st, 2012
We master space and time this week (discussing a book of the same name), deep dive with ActiveRecord which loves blocks, live stream with Rails 4.0, and discuss Team Dashboard, respond_to_missing?, Synack, and Try iOS.
This episode is sponsored by TopRubyJobs
If you're looking for a Ruby job or for top Ruby talent, then you should check out Top Ruby Jobs. Top Ruby Jobs is a website dedicated to the best jobs available in the Ruby community.
ActiveRecord loves blocks
Do you know how easy it is to use a block syntax to create new ActiveRecord objects? Carlos Antonio da Silva posted an article on the Plataformatec blog which illustrates this technique that's been around for a while, but you may not be using it.
Rails 4.0 Live Streaming
Aaron Patterson wrote up an article on a recently added feature for Rails 4, Live Streaming. This can be used for anything where you’d want to send data to clients in real time.
Team Dashboard Released
If you need one of those awesome visual dashboards for your application you may want to check out a library from Federik Dietz called “Team Dashboard”. It's an open source Rails app.
Always define respond_to_missing? when overriding method_missing
Did you know that when you override method_missing it’s also your responsibility as a good ruby programmer to override respond_to? Better yet, if you're using Ruby 1.9.3 you should implement the respond_to_missing? method. See Mike Burns wrote an article on Thoughtbot for more information.
ActiveRecord Deep Dive
Richard Schneems has been teaching a class on Databases & Rails at the University of Texas, and has been posting his course content on a weekly basis to his blog. This week he posted a bunch of small screencasts going over some of the basics of ActiveRecord including find, where, include, order, offset, joins, group, and having.
If you've already installed Mountain Lion, you may be be familiar with the notification center. This week Corey Ehmke released Synack, to make it simple to send messages from your code to the notification center. You might use this instead of Growl.
The folks over here at Code School just put out a Kickstarter campaign yesterday to raise money to build an iPhone app development course. Basically we think we figured out how to allow someone to code iPhone apps in the browser, but the cost for producing the course isn't cheap. So, if this is something you might be interested in supporting (or getting access to the course when it's done), please checkout the kickstarter page.