Class: RailsAdmin::Config::Fields::Types::FileUpload

Inherits:
Base
  • Object
show all
Defined in:
lib/rails_admin/config/fields/types/file_upload.rb

Direct Known Subclasses

ActiveStorage, Carrierwave, Dragonfly, Paperclip, Shrine

Constant Summary

Constants inherited from Base

Base::NAMED_INSTANCE_VARIABLES

Instance Attribute Summary

Attributes inherited from Base

#abstract_model, #defined, #name, #order, #parent, #properties, #root, #section

Instance Method Summary collapse

Methods inherited from Base

#association?, #eager_load_values, #editable?, #errors, #filter_options, #form_default_value, #form_value, #generic_field_help, #generic_help, #initialize, #inverse_of, #method_name, #optional, #optional=, #optional?, #parse_input, #parse_value, #sort_column, #type, #type_css_class, #value

Methods included from Inspectable

#inspect

Methods included from Groupable

#group

Methods included from Hideable

#hidden?, #hide, included, #show

Methods included from Configurable

#has_option?, #register_deprecated_instance_option, #register_instance_option

Methods included from Proxyable

#bindings, #bindings=, #with

Constructor Details

This class inherits a constructor from RailsAdmin::Config::Fields::Base

Instance Method Details

#resource_urlObject

virtual class



70
71
72
# File 'lib/rails_admin/config/fields/types/file_upload.rb', line 70

def resource_url
  raise 'not implemented'
end

#virtual?Boolean

Returns:



74
75
76
# File 'lib/rails_admin/config/fields/types/file_upload.rb', line 74

def virtual?
  true
end