RailsCasts Pro episodes are now free!

Learn more or hide this

Verdi Erel Ergün's Profile

GitHub User: vergun

Site: http://www.thinkown.com

Comments by Verdi Erel Ergün


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 ..


here's the railsdoc


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.