Ruby on Rails Wednesday, November 11, 2015

On Wed, Nov 11, 2015 at 4:33 PM, <alexander.maznev@gmail.com> wrote:
> # Could not dump table "test" because of following StandardError
> # Unknown type 'three_letters_type' for column 'three_letters'

activerecord will complain : ) see
http://edgeguides.rubyonrails.org/active_record_postgresql.html


so to dump schema, try

config.active_record.schema_format = :sql #instead of :ruby default

kind regards
--botp

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAwHHQgDW5ZXNxGrEqw5XF0wJJMkrv9KFTuHVDTPoOLquUr6ug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment