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

Add form_with to unify form_tag/form_for. #26976

Merged
merged 16 commits into from
Nov 21, 2016
Prev Previous commit
Next Next commit
Code climatize.
  • Loading branch information
kaspth committed Nov 6, 2016
commit c0df7c629014e007d3e39e6cb60aaa36e381ef04
4 changes: 1 addition & 3 deletions actionview/test/template/form_helper/form_with_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,7 @@ def test_form_with_with_symbol_scope

def test_form_tags_do_not_call_private_properties_on_form_object
obj = Class.new do
private

def private_property
private def private_property
raise "This method should not be called."
end
end.new
Expand Down