This should probably be in a seed file or a rake task if it's for production.

That way you can just run 'rake db:production:seed' on your server when you push and pre-emptively load the data. Otherwise every time someone comes to the home page you'll have to run an extra ~3 queries.