This project is archived and is in readonly mode.
Postgres: Invalid default value getting from character varying columns.
-
foot
This happens because postgres adapter use ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::PostgreSQLColumn class (where it find it?) for columns definition instead ActiveRecord::ConnectionAdapters::PostgreSQLColumn class.
This modification helps for me.
-
chrispanda
This patch works for me +1
-
Michael Koziarski
- Assigned user set to Tarmo Tänav
-
edraut
This bug is caused by the acts_as_tsearch plugin. I'll include a patch here to show why, but it looks like there is no bug in active_record. I suggest closing this. I will submit the patch to the acts_as_tsearch maintainer.
-
foot
Thanks! This works for me. In my project the acts_as_tsearch plugin was installed.
-
sarah (at ultrasaurus)
patch applied (plus other improvements to acts_as_tsearch) at: http://github.com/wolframarnold/acts_as_tsearch
-
Rohit Arondekar
- State changed from new to resolved
- Importance changed from to
