Permalink
Browse files

deprecate :error_class option

  • Loading branch information...
justinfrench committed Jul 12, 2013
1 parent f6ea7f2 commit e3a0393241f6b3befff836daf1ffb0dc0c576665
Showing with 5 additions and 0 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −0 lib/formtastic/inputs/base.rb
View
@@ -1,3 +1,7 @@
+2.3.0.rc3
+
+* deprecate support for :error_class option
+
2.3.0.rc2
* deprecate support for Rails < 3.2
@@ -18,6 +18,7 @@ def initialize(builder, template, object, object_name, method, options)
warn_deprecated_option!(:group_by, ":collection option with a HTML string generated by Rails' grouped_options_for_select()")
warn_deprecated_option!(:group_label, ":collection option with a HTML string generated by Rails' grouped_options_for_select()")
warn_deprecated_option!(:find_options, "YourModel.find(...)")
+ warn_deprecated_option!(:error_class, "default_inline_error_class or default_error_list_class configuration")
end
# Usefull for deprecating options.

0 comments on commit e3a0393

Please sign in to comment.