Permalink
Browse files

Rails 4 changes

ActionView::Helpers::InstanceTag 
is transformed into module called ActiveModelInstanceTag

ActionView::Helpers::ActiveModelInstanceTag
  • Loading branch information...
1 parent 0aa6ff9 commit e105966c1ca112ab642162389b48fa5564362d6f @BeenaShetty committed Feb 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/country_code_select/form_helpers.rb
@@ -1,7 +1,7 @@
module CountryCodeSelect
module FormHelpers
def country_code_select(object_name, method, priority_countries = nil, options = {})
- ActionView::Helpers::InstanceTag.new(object_name, method, self, options.delete(:object)).to_country_code_select_tag(priority_countries, options)
+ ActionView::Helpers::ActiveModelInstanceTag.new(object_name, method, self, options.delete(:object)).to_country_code_select_tag(priority_countries, options)
end
end
end

0 comments on commit e105966

Please sign in to comment.