Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
anderse
· 8y ago · 0 comments
Probably something like:
to_select = fields - [:created_at, :updated_at]
Though there’s always a slight uncomfort in not being 100% sure the array elements aren’t strings, so might throw in a cast here just to be sure.
Comments
No comments yet.
Better HN