Skip to content

Commit

Permalink
fixup! fixup! Deprecate SimpleForm.file_methods
Browse files Browse the repository at this point in the history
  • Loading branch information
tegon committed Sep 27, 2019
1 parent 939e424 commit e704eee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/simple_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ def self.configured? #:nodoc:
mattr_accessor :browser_validations
@@browser_validations = true

# Collection of methods to detect if a file type was given.
mattr_accessor :file_methods
@@file_methods = %i[mounted_as file? public_filename attached?]

# Custom mappings for input types. This should be a hash containing a regexp
# to match as key, and the input type that will be used when the field name
# matches the regexp as value, such as { /count/ => :integer }.
Expand Down

0 comments on commit e704eee

Please sign in to comment.