RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: lionelrudaz
I'm following the tutorial, but I'm blocked to the migration which doesn't work.
== AddTranslationsToEventCategory: migrating =================================
An error has occurred, this and all later migrations canceled:
PG::Error: ERROR: relation "translations" does not exist
LINE 4: WHERE a.attrelid = '"translations"'::regclass
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"translations"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
I've created a question on StackOverflow, but haven't any clue yet.
I wonder if anyone can help me solving this issue. My code is here
Thanks in advance