Has anyone seen how to do associated_against with UUIDs? I am getting this error.
PG::Error: ERROR: operator does not exist: uuid = character varying
LINE 1: ...M "articles" INNER JOIN "forums" ON "forums"."id" = "article...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
This may be a classic "is the computer plugged in?" solution, but did you try running the command with sudo?
sudo initdb /user/local/var/postgres
This is probably a case where your /usr/local/var/postgres path (or a parent) doesn't have read/write permissions. That's fine, you don't want read/write access on those directories.
Thanks for this. It'd be great to see a RailsCast or two on Backbone Marionette.
Try to wrap your pricing resource in a namespace in your config/routes.rb like this
namespace :products do
... your pricing resource ..
end
here's the railsdoc
http://guides.rubyonrails.org/routing.html#controller-namespaces-and-routing
Has anyone seen how to do associated_against with UUIDs? I am getting this error.
PG::Error: ERROR: operator does not exist: uuid = character varying
LINE 1: ...M "articles" INNER JOIN "forums" ON "forums"."id" = "article...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
This may be a classic "is the computer plugged in?" solution, but did you try running the command with sudo?
sudo initdb /user/local/var/postgres
This is probably a case where your /usr/local/var/postgres path (or a parent) doesn't have read/write permissions. That's fine, you don't want read/write access on those directories.
Can anyone help with this error I am getting on rake db:create:all?
http://stackoverflow.com/questions/10423304/rake-dbcreateall-error-cant-convert-nil-to-string