Module: S3CorsFileupload
- Defined in:
- lib/s3_cors_fileupload.rb,
lib/s3_cors_fileupload/version.rb,
lib/s3_cors_fileupload/rails/config.rb,
lib/s3_cors_fileupload/rails/engine.rb,
lib/s3_cors_fileupload/rails/form_helper.rb,
lib/s3_cors_fileupload/rails/policy_helper.rb,
lib/generators/s3_cors_fileupload/install/install_generator.rb
Defined Under Namespace
Modules: Config, FormHelper, Generators, Rails Classes: PolicyHelper
Constant Summary collapse
- VERSION =
'0.3.0'
- JQUERY_FILEUPLOAD_VERSION =
'5.32.6'
- JQUERY_FILEUPLOAD_UI_VERSION =
'8.8.5'
Class Method Summary collapse
Class Method Details
.active_record_protected_attributes? ⇒ Boolean
5 6 7 |
# File 'lib/s3_cors_fileupload.rb', line 5 def self.active_record_protected_attributes? @active_record_protected_attributes ||= ActiveRecord::VERSION::STRING.to_f < 4.0 || !!defined?(ProtectedAttributes) end |