Awesome! Thank you. I ended up sub-classing *User *to *UserPublic* along 
with your suggestion to give it default scope and it's working great!

class User < Sequel::Model; end

class UserPublic < User
  PUBLIC_COLUMNS = %i{id name email phone timezone created_at updated_at}
  self.dataset = dataset.select(*PUBLIC_COLUMNS)
end


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/ae637c6c-a84a-40aa-89c8-909d316784d8%40googlegroups.com.

Reply via email to