Friday, December 17, 2010

Suppress NOTICE messages from Postgresql when running rake cucumber


# Notice messages spewed
#
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index ...

# Fix
# Add to database config in config/database.yml
#
test:
...
min_messages: WARNING;;

1 comment:

--Eric said...

Appreciate your posting this tip; easy to find, easy to implement, begone annoyance!

Blog Archive