Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upload the attachment #149

Open
Blackening999 opened this issue Jul 16, 2015 · 0 comments
Open

Can't upload the attachment #149

Blackening999 opened this issue Jul 16, 2015 · 0 comments

Comments

@Blackening999
Copy link

Hi

Pictures upload works like a charm, but when I try to upload an attachment/document I'm receiving this error:

NameError - uninitialized constant RedactorRails::Attachment:
activesupport (4.0.13) lib/active_support/dependencies.rb:502:in load_missing_constant' activesupport (4.0.13) lib/active_support/dependencies.rb:184:inconst_missing'
activesupport (4.0.13) lib/active_support/inflector/methods.rb:228:in block in constantize' activesupport (4.0.13) lib/active_support/inflector/methods.rb:224:inconstantize'
activesupport (4.0.13) lib/active_support/core_ext/string/inflections.rb:66:in constantize' () Users/black/.rvm/gems/ruby-2.0.0-p451@fi/bundler/gems/redactor-rails-a00fe63f16ee/app/controller/redactor_rails/base_controller.rb:24:incontroller_model'
() Users/black/.rvm/gems/ruby-2.0.0-p451@fi/bundler/gems/redactor-rails-a00fe63f16ee/app/controller/redactor_rails/base_controller.rb:9:in create' actionpack (4.0.13) lib/action_controller/metal/implicit_render.rb:4:insend_action'
...

I'm also getting this when trying to run

$  rails generate redactor:install --devise

Could not find "active_record/carrierwave/redactor/document.rb"...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant