exclude multiple fields inline#141
Conversation
philipqnguyen
left a comment
There was a problem hiding this comment.
@pabhinaya this is a great addition! Would you add a test for exclude_fields?
|
Yes thank you so much for your contribution. As Philip pointed out, it'd be great if you wouldn't mind adding a test to |
|
@philipqnguyen, @mcclayton I have added the specs for exclude_fields. Please proceed. |
|
I believe exclude should be able to take 1 or more arguments. Both the below examples should be valid usages of exclude: exclude :field1exclude :field1, :field2This should be possible with Ruby's splat operator. |
|
@ritikesh normally I would agree with your suggestion too, but I think having plural |
mcclayton
left a comment
There was a problem hiding this comment.
I'll draft a release for this after this is merged if this looks good to @philipqnguyen
@mcclayton , For derived views with multiple included views, ability to exclude multiple fields inline.