02 Apr '12, 9pm

Machine-wide setting for quieter Postgres output

April 2, 2012 Tagged: empathy postgres ruby on rails Comments (View) Global min_messages When running Rails apps with Postgres in development mode, you might notice output like this when running tests: NOTICE: CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users" It’s noisier than you need for day-to-day development. To quiet the noise, you could change a setting in your config/database.yml file: min_messages: warning However, we can set this machine-wide instead of project-wide, similar to the global .gitignore file and set noswapfile vim setting. psql -d rails_app_development ALTER ROLE <user> SET client_min_messages TO WARNING; Change <user> to be the user account for your machine.

Full article: http://robots.thoughtbot.com/post/20367239936/global-min-...

Tweets

Did you know that IUCN contributed to most glob...

iucn.org 01 Apr '12, 8am

IUCN’s impact on global conservation 19 March 2012 | News story As preparations gear up for the 2012 IUCN World Conservati...

India is darling of global defense firms

defence.pk 31 Mar '12, 11am

NEW DELHI — Sailor-suited Russian models touted their nation's submarines. Indian officers posed for pictures atop foreign...

Global Hack Day #3

rubyflow.ru 30 Mar '12, 6am

Mendicant University уже в третий раз организует Global Hack Day. Событие будет проходить 5 апреля с 18:00 до 02:00 UTC. П...

Aress Software participated in the prestigious ...

sfluxe.com 31 Mar '12, 6pm

PRLog (Press Release) – Mar 31, 2012 - Aress Software is pleased to share its success story at WorldHostingDay Global conf...

Global Hack Day #3, Thursday April 5

rubyflow.com 30 Mar '12, 1am

Global Hack Day #3, Thursday April 5 Posted by seacreature on March 30, 2012 — 0 comments The idea of having weekly or mon...

Asian markets mixed on global growth fears: Wal...

channelnewsasia.com 30 Mar '12, 4am

HONG KONG : Asian markets mostly fell on Friday on growing concerns over the global economy after an unimpressive set of U...

Time Is Nigh for Global Action, Manifesto Warns

green.blogs.nytimes.com 29 Mar '12, 11am

Time Is Nigh for Global Action, Manifesto Warns By DAVID JOLLY An era has dawned in which humanity’s impact on the earth c...