05 Jul '13, 7pm

@brookr you have to put v3.2.13 in the url now

# routes.rb root :to => 'home#index' resources :posts # home_controller.rb class HomeController < ApplicationController def dashboard @users = User.last_ten.includes(:avatars) @posts = Post.all_today end end # posts_controller.rb class PostsController < ApplicationController def create @post = Post.create(params[:post]) redirect_to(@post) end end # post.rb class Post < ActiveRecord::Base before_save :recalculate_costly_stats def slow_method # I fire gallzilion queries sleeping all around end private def recalculate_costly_stats # CPU heavy calculations end end

Full article: http://guides.rubyonrails.org/v3.2.13/performance_testing...

Tweets

Automated Accessibility Testing in Rails with c...

pivotallabs.com 03 Jul '13, 9pm

capybara-accessible is an automated accessibility testing tool that has been recently released by Case Commons , with Pivo...

Google AdSense Testing Favicons In Ads Again

seroundtable.com 05 Jul '13, 12pm

Over eight years ago, Google AdSense tested showing favicons in AdSense ads - little graphics next to the title of the AdS...

U.S. Floating Offshore Wind Pilot Project Put O...

renewableenergyworld.com 05 Jul '13, 9am

LONDON -- Norwegian energy company Statoil has announced that it will put its 12 MW, US $120 million Hywind Maine floating...

U.S. Floating Offshore Wind Pilot Project Put O...

renewableenergyworld.com 05 Jul '13, 10am

LONDON -- Norwegian energy company Statoil has announced that it will put its 12 MW, US $120 million Hywind Maine floating...

AllState Withdraws 2 New gTLD Applications

thedomains.com 03 Jul '13, 11pm

Two more new gTLD application were withdrawn today as reflected on the ICANN site. Allstate Insurance withdrew .carinsuran...

AllState Withdraws 2 New gTLD Applications

thedomains.com 03 Jul '13, 11pm

Two more new gTLD application were withdrawn today as reflected on the ICANN site. Allstate Insurance withdrew .carinsuran...

Test Drive Rails 4.0 on Ruby 2.0 in the cloud with nitrous.io!

Test Drive Rails 4.0 on Ruby 2.0 in the cloud w...

blog.nitrous.io 03 Jul '13, 2pm

Building a Rails 4.0 App on Nitrous.IO 02 July 2013 Rails 4.0 incorporates many new features on top of an already very pow...

Getting gem to work on Ruby on Rails App - repo...

freelancer.com 05 Jul '13, 3pm

I need some who can add the bootstrap-wysihtml5 gem to a rails application. http://jhollingworth.github.io/bootstrap-wysih...

Intuit is looking for Ruby on Rails Architect, ...

jobs.intuit.com 05 Jul '13, 12am

Imagine a career where your creative inspiration can fuel BIG innovation. Year-over-year, Intuit has been recognized on Fo...

Object Oriented Rails – Writing better controllers

pivotallabs.com 30 Jun '13, 1am

I have been doing a lot of mobile development lately, using Objective-C on iOS, and Java on Android. Since I’m also a Ruby...

Ruby 1.8.7 and Rails 2.x Are Both Now Retried #...

gorails.com 30 Jun '13, 5pm

Ruby 1.8.7 and Rails 2.x Are Both Now Retried by Chris Oliver It's been a fantastic run for older versions of Ruby and Rai...

Software options cover 10-Gbps SuperSpeed USB t...

edn.com 29 Jun '13, 5pm

Tektronix has added several options to its USB 3.0 test platform, including transmitter test software for the SuperSpeedPl...

Nuclear testing bomb-curve helps fight ivory poachers

Nuclear testing bomb-curve helps fight ivory po...

treehugger.com 02 Jul '13, 1pm

If anything good came from nuclear bomb testing, this would be it. U.S. and Soviet weapons trials between 1952 and 1962 ca...

Rails Developer for Exciting Projects by rh1n0c...

freelancer.com 02 Jul '13, 8pm

Project Description: You will have the opportunity to build exciting web and mobile applications to help people be great a...

India Bans All Animal Testing for Cosmetics And...

ecouterre.com 30 Jun '13, 7pm

India has taken the historic step of banning all animal testing for cosmetics, the first South Asian nation to do so. Afte...