Skip to content
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

Update simple_form.rb #13

Merged
merged 1 commit into from
May 10, 2015
Merged

Update simple_form.rb #13

merged 1 commit into from
May 10, 2015

Conversation

Dinuz
Copy link
Contributor

@Dinuz Dinuz commented Dec 17, 2014

@joecorcoran

DEPRECATION WARNING: judge method now accepts a wrapper_options argument. The method definition without the argument is deprecated and will be removed in the next Simple Form version. Change your code from:
def judge
to
def judge(wrapper_options)
See heartcombo/simple_form#997 for more information.
(called from render at ........../bundler/gems/simple_form-6c9e69b22f63/lib/simple_form/wrappers/leaf.rb:15)

This just solve the deprecation warning!
We should merge it

@joecorcoran

DEPRECATION WARNING: judge method now accepts a wrapper_options argument. The method definition without the argument is deprecated and will be removed in the next Simple Form version. Change your code from:
def judge
to
def judge(wrapper_options)
See heartcombo/simple_form#997 for more information.
(called from render at ........../bundler/gems/simple_form-6c9e69b22f63/lib/simple_form/wrappers/leaf.rb:15)

This just solve the deprecation warning!
We should merge it
@jamesmk
Copy link
Collaborator

jamesmk commented May 10, 2015

Thanks @Dinuz. Tests are failing due to a combo of simple_form v2 and 3 support. I'll release this as v1.0 and deprecate simple_form v2 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants