Merge pull request #1226 from badosu/v2.1-fix-ruby-2.1-reflection
Fix method reflection for ruby 2.1
This commit is contained in:
parent
ab31b60584
commit
eaccf516cd
|
@ -35,7 +35,7 @@ module SimpleForm
|
|||
# reuse the method for nested boolean style, but with no unchecked value,
|
||||
# which won't generate the hidden checkbox. This is the default functionality
|
||||
# in Rails > 3.2.1, and is backported in SimpleForm AV helpers.
|
||||
def build_check_box(unchecked_value = unchecked_value)
|
||||
def build_check_box(unchecked_value = unchecked_value())
|
||||
@builder.check_box(attribute_name, input_html_options, checked_value, unchecked_value)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue