I'm using column_select on all models in an application, and the server is booted but a table doesn't exist (usually because a dev forgot to migrate after switching branches), the following error pops up:
/home/chris/.rvm/gems/ruby-2.3.0/bundler/gems/sequel-cc1e5c342b95/lib/sequel/plugins/column_select.rb:52:in `convert_input_dataset': undefined method `map' for nil:NilClass (NoMethodError) Did you mean? tap from /home/chris/.rvm/gems/ruby-2.3.0/bundler/gems/sequel-cc1e5c342b95/lib/sequel/model/base.rb:798:in `set_dataset' from /home/chris/.rvm/gems/ruby-2.3.0/bundler/gems/sequel-cc1e5c342b95/lib/sequel/model/plugins.rb:45:in `block in after_set_dataset' from /home/chris/.rvm/gems/ruby-2.3.0/bundler/gems/sequel-cc1e5c342b95/lib/sequel/model/base.rb:629:in `inherited' This is a pretty common occurrence in our shop. I'm not sure what the ideal behavior is - maybe to raise a nicer error, maybe another conditional to just try not to apply the select in that case? Chris -- 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.
