-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attrs as instance vars #39
Conversation
@@ -49,7 +49,7 @@ def self.name | |||
end | |||
|
|||
context "with options" do | |||
let(:options) { { except: :first_name } } | |||
let(:options) { { except: "first_name" } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, why these changes happened?
Shouldn't the options be passed as symbols?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question, we probably need to support symbols as well, I'll check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just checked, this is the as_json
Rails method, so I think it's fine
No description provided.