28 Jul '12, 2pm

Not a new post, but just pointed me in the right direction with something.

January 25, 2012 Tagged: rails rspec factory girl test-driven rails testing dependency injection Comments (View) Inject that Rails Configuration Dependency! Setting up configuration settings in a Rails app has been fairly straightforward for a while now: # config/environments/development.rb Doit::Application.configure do config.default_creator = "Person 1" end # config/environments/test.rb Doit::Application.configure do config.default_creator = "Test Person" end # config/environments/production.rb Doit::Application.configure do config.default_creator = "John Doe" end To access this setting, call Doit::Application.config.default_creator within your app. Pretty straightforward, right? class TodoItem < ActiveRecord::Base before_create :assign_default_creator, unless: :creator? private def assign_default_creator self.creator = Doit::Application.config.default_creator end end L...

Full article: http://robots.thoughtbot.com/post/16466303962/inject-that...

Tweets

The Rails Way

therailsway.com 27 Jul '12, 9pm

As I mentioned in the post on managing file uploads, the most common cause of an unresponsive rails application is having ...

What's New in Edge Rails #31

afreshcup.com 30 Jul '12, 12pm

Monday, July 30, 2012 at 6:24AM Week of July 23 - July 29, 2012 Biggest change this week is probably the introduction of A...

Obie Fernandez: Rendering Collections of Hetero...

blog.obiefernandez.com 29 Jul '12, 7am

This commit by Grant Hutchins & Peter Jaros back in July 2011 gives ActiveModels the ability to define their own partial p...

You Want New SEO Tactics? I Got Your “New” SEO ...

smallbusinesssem.com 24 Jul '12, 4pm

You Want New SEO Tactics? I Got Your “New” SEO Tactics Right Here Matt McGee | July 24, 2012 | 1 Comment Someone posted th...

Riding Rails: What is docrails?

weblog.rubyonrails.org 22 Jul '12, 9pm

Over the years I have seen some confusion about what is exactly docrails and how it relates to the documentation of Ruby o...

Riding Rails: Rails and the Enterprise:

weblog.rubyonrails.org 22 Jul '12, 5am

The Enterprise is evolving: economic crisis, a new generation of developers, new management, insane deadlines. Ruby and Ra...

Massachusetts Right to Repair Battle Gears Up: ...

spectrum.ieee.org 26 Jul '12, 6pm

There is a weekly column in the Wall Street Journal that offers solutions to readers' automobile problems, the latest one ...

The Mulberry Bryn: Another It Bag, or Just Another Bag?: A couple of weeks ago, something curious happened. The

The Mulberry Bryn: Another It Bag, or Just Anot...

purseblog.com 26 Jul '12, 6pm

A couple of weeks ago, something curious happened. The Mulberry Bryn Bag debuted on the brand’s website, and simultaneousl...

One Direction 2013 Calendar

ebay.com.sg 25 Jul '12, 3pm

Excludes: Africa, Central America and Caribbean, Brunei Darussalam, Cambodia, Laos, Macau, Malaysia, Philippines, Thailand...

What’s New in Edge Rails #32: Week of July 30 –...

afreshcup.com 06 Aug '12, 12pm

Monday, August 6, 2012 at 6:54AM Week of July 30 - August 5, 2012 The most sweeping change this week was actually on the 3...

BLACKFIVE: Something to demonize via @sharethis

blackfive.net 21 Jul '12, 5pm

My heart goes out to the families of those who lost loved ones in the movie shooting. I mourn the loss of innocent people ...