Skip to content

Commit

Permalink
remove warnings from old options
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrench committed Feb 24, 2012
1 parent 274fef1 commit 0b90e8e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/formtastic/inputs/base.rb
Expand Up @@ -12,10 +12,6 @@ def initialize(builder, template, object, object_name, method, options)
@method = method
@options = options.dup

removed_option!(:label_method)
removed_option!(:value_method)
removed_option!(:group_label_method)

warn_deprecated_option!(:value, ":input_html => { :value => '...'}")
warn_deprecated_option!(:hint_class, "default_hint_class configuration")
warn_deprecated_option!(:error_class, "default_error_class configuration")
Expand Down

0 comments on commit 0b90e8e

Please sign in to comment.