Displaying 1 result from an estimated 1 matches for "sequence_name_prefix".
2007 Jun 19
2
sequence name prefix
...schema as the
tables, and prefixes them with ''public.'' :-(
I have to declare in *ALL* my classes:
set_sequence_name "keywords.things_id_seq"
This is awful in terms of maintenance. So I would be very grateful if I
could find an equivalent of:
ActiveRecord::Base.sequence_name_prefix = "keywords."
(this fails: undefined method `sequence_name_prefix='' for
ActiveRecord::Base:Class)
Any help very much appreciated.
Isabelle
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you...