Skip to content

Commit

Permalink
Bring it back to life on Edge.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jun 7, 2010
1 parent 6cec32e commit 35f9c01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/simple_form/action_view_extensions/form_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion simple_form.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class SimpleForm::FormBuilder

class ActionView::TestCase
include MiscHelpers
include SimpleForm::ActionViewExtensions::FormHelper

setup :set_controller
setup :set_response
Expand Down

0 comments on commit 35f9c01

Please sign in to comment.