Hi all, Suppose my sequence current value is '1' and I save a new record to the DB.After I call the save method,the attribute which uses the sequence has the value '2',but in the database it is '3'.I´m mapping the sequence as follows:
class Viagem < ActiveRecord::Base set_table_name 'xxxx' set_primary_key 'xx' set_sequence_name 'sequence_name' What could be wrong? Thanks, Rafael Roque -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

