search for: court_seq

Displaying 1 result from an estimated 1 matches for "court_seq".

2010 Sep 27
0
problem with set_sequence_name please help
I''m building rails 3 with legacy oracle 10g db. which it''s sequence is non rails convension. I have try this. class AdCourt < ActiveRecord::Base set_sequence_name ''COURT_SEQ'' end with rails console : AdCourt.sequence_name I have got "COURT_SEQ" which look ok. When AdCourt.create!(:caption => ''AAAA'', :code => ''1111'', :version => 0, :created_by_id => 0) it''s still using "ad_courts_seq&...