Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bring it back to life on Edge.

  • Loading branch information...
commit 35f9c01324fb2cb42dbede7f6482b9212f2eba5f 1 parent 6cec32e
@josevalim josevalim authored
View
2  lib/simple_form/action_view_extensions/form_helper.rb
@@ -53,4 +53,4 @@ def simple_#{helper}(record_or_name_or_array, *args, &block)
end
end
-ActionView::Helpers.send :include, SimpleForm::ActionViewExtensions::FormHelper
+ActionView::Base.send :include, SimpleForm::ActionViewExtensions::FormHelper
View
3  simple_form.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jos\303\251 Valim", "Carlos Ant\303\264nio"]
- s.date = %q{2010-05-24}
+ s.date = %q{2010-06-07}
s.description = %q{Forms made easy!}
s.email = %q{contact@plataformatec.com.br}
s.extra_rdoc_files = [
@@ -56,6 +56,7 @@ Gem::Specification.new do |s|
"test/components/error_test.rb",
"test/components/hint_test.rb",
"test/components/label_test.rb",
+ "test/components/wrapper_test.rb",
"test/form_builder_test.rb",
"test/inputs_test.rb",
"test/simple_form_test.rb",
View
1  test/test_helper.rb
@@ -38,6 +38,7 @@ class SimpleForm::FormBuilder
class ActionView::TestCase
include MiscHelpers
+ include SimpleForm::ActionViewExtensions::FormHelper
setup :set_controller
setup :set_response
Please sign in to comment.
Something went wrong with that request. Please try again.