-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix for #80 #81
base: master
Are you sure you want to change the base?
Fix for #80 #81
Conversation
@@ -49,6 +51,8 @@ def attribute(name, options = {}, &block) | |||
_register_condition(field_condition_blocks, name, options) | |||
end | |||
|
|||
|
|||
|
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.
Extra blank line detected.
@@ -49,6 +51,8 @@ def attribute(name, options = {}, &block) | |||
_register_condition(field_condition_blocks, name, options) | |||
end | |||
|
|||
|
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.
Extra blank line detected.
class << self | ||
attr_accessor :field_condition_blocks | ||
attr_accessor :link_condition_blocks | ||
end | ||
self.field_condition_blocks ||= {} | ||
self.link_condition_blocks ||= {} | ||
|
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.
Extra empty line detected at block body end.
Codecov Report
@@ Coverage Diff @@
## master #81 +/- ##
=======================================
Coverage 99.47% 99.47%
=======================================
Files 12 12
Lines 379 379
=======================================
Hits 377 377
Misses 2 2
Continue to review full report at Codecov.
|
Hi @daniel-sullivan – thanks for this PR! I'm currently on the road but will take a closer look asap 👍 |
Fix for conditional attribute inclusion using the 0.2.1 conditional_fields.rb