RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: rsiddle
Site: http://roomcentral.co.uk
The performance gem has been moved outside of Rails 4. Did you remember to include these gems to include the benchmark functionality?
gem 'ruby-prof', group: :test gem 'test-unit', group: :test
Thank you for refactoring this code. The associated objects are especially useful rather than masking each attribute behind a method.
I was having the same thoughts as Travis!
The performance gem has been moved outside of Rails 4. Did you remember to include these gems to include the benchmark functionality?
gem 'ruby-prof', group: :test
gem 'test-unit', group: :test
Thank you for refactoring this code. The associated objects are especially useful rather than masking each attribute behind a method.
I was having the same thoughts as Travis!