RailsCasts Pro episodes are now free!

Learn more or hide this

Michael Toppa's Profile

GitHub User: toppa

Site: http://www.toppa.com

Comments by Michael Toppa

Avatar

The migration to setup hstore only runs if the account your Rails app is using to access Postgres has superuser access. If you want to grant this temporarily, you can do this at postgres prompt (assuming your own postgres login is a superuser account):

alter user [rails account name] with superuser;
then revoke when done...
alter user [rails account name] with nosuperuser;