Greetings, forum,-

Quick question: is there any equivalent for ActiveRecord's 
Persistence#becomes method for use with the single_table_inheritance plugin?

ActiveRecord source code 
reference: 
https://github.com/rails/rails/blob/75f274c8e42e9df3eeebb557583e1aafd2396047/activerecord/lib/active_record/persistence.rb#L212

Basically, I'd just like to update an object's object_type sti field during 
runtime and be able to run its initialization so it can run some 
validations, but that doesn't seem quite doable with the version of Sequel 
4.17.0 I have installed at the moment.

Best regards,
-Nels Nelson



-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to