If I add a computed column and then call save, like so: u = User.select_append(Sequel.function(:now).as(:a_computed_column)).first
And then call u.save I got PG::UndefinedColumn: ERROR: column "a_computed_column" of relation "users" does not exist I know I can do u.save(:columns => User.columns) But is there a better way to manage such scenario? As I have tons of computed columns. Thanks -- Nicolas Goy Programmer http://kuon.goyman.com -- 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 http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
