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

Carrierwave, Dragonfly, Paperclip

Instance Attribute Summary

Attributes inherited from Base

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

Attributes included from Proxyable

#bindings

Instance Method Summary collapse

Methods inherited from Base

#association?, #editable?, #errors, #form_default_value, #form_value, #generic_field_help, #generic_help, #initialize, #inspect, #inverse_of, #method_name, #optional, #optional=, #optional?, #parse_input, #type, #type_css_class, #value

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

#with

Constructor Details

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

Instance Method Details

#resource_urlObject

virtual class


52
53
54
# File 'lib/rails_admin/config/fields/types/file_upload.rb', line 52

def resource_url
  fail('not implemented')
end

#virtual?Boolean

Returns:


56
57
58
# File 'lib/rails_admin/config/fields/types/file_upload.rb', line 56

def virtual?
  true
end