Ruby on Rails
Saturday, August 3, 2013
Hi Guys,
I am trying to implement Redactor into my app. It is for the Member model which has a blog. I followed the instructions located here:
https://github.com/SammyLin/
But still getting this error - Any thoughts on why this happens? Do You have experience with it? Do You know any other similar editor with image upload? (I already use ckEditor in ActiveAdmin, and it would be nice for the Members too but I don't know how I can create a new config to work with the member model):
Started POST "/redactor_rails/pictures?
Processing by RedactorRails::
Parameters: {"file"=>#<ActionDispatch::
Member Load (0.3ms) SELECT "members".* FROM "members" WHERE "members"."id" = 10 LIMIT 1
Completed 500 Internal Server Error in 2442ms
NameError (uninitialized constant RedactorRails::Asset::User):
activerecord (3.2.13) lib/active_record/inheritance.
activerecord (3.2.13) lib/active_record/reflection.
activerecord (3.2.13) lib/active_record/
activerecord (3.2.13) lib/active_record/
activerecord (3.2.13) lib/active_record/
activerecord (3.2.13) lib/active_record/
/usr/local/rvm/gems/ruby-2.0.
actionpack (3.2.13) lib/action_controller/metal/
actionpack (3.2.13) lib/abstract_controller/base.
actionpack (3.2.13) lib/action_controller/metal/
actionpack (3.2.13) lib/abstract_controller/
activesupport (3.2.13) lib/active_support/callbacks.
activesupport (3.2.13) lib/active_support/callbacks.
activesupport (3.2.13) lib/active_support/callbacks.
activesupport (3.2.13) lib/active_support/callbacks.
actionpack (3.2.13) lib/abstract_controller/
actionpack (3.2.13) lib/action_controller/metal/
actionpack (3.2.13) lib/action_controller/metal/
activesupport (3.2.13) lib/active_support/
activesupport (3.2.13) lib/active_support/
activesupport (3.2.13) lib/active_support/
actionpack (3.2.13) lib/action_controller/metal/
actionpack (3.2.13) lib/action_controller/metal/
activerecord (3.2.13) lib/active_record/railties/
actionpack (3.2.13) lib/abstract_controller/base.
actionpack (3.2.13) lib/abstract_controller/
actionpack (3.2.13) lib/action_controller/metal.
actionpack (3.2.13) lib/action_controller/metal/
actionpack (3.2.13) lib/action_controller/metal.
actionpack (3.2.13) lib/action_dispatch/routing/
actionpack (3.2.13) lib/action_dispatch/routing/
actionpack (3.2.13) lib/action_dispatch/routing/
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/railtie/
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.13) lib/action_dispatch/routing/
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
actionpack (3.2.13) lib/action_dispatch/
rack (1.4.5) lib/rack/etag.rb:23:in `call'
rack (1.4.5) lib/rack/conditionalget.rb:35:
actionpack (3.2.13) lib/action_dispatch/
actionpack (3.2.13) lib/action_dispatch/
actionpack (3.2.13) lib/action_dispatch/
rack (1.4.5) lib/rack/session/abstract/id.
rack (1.4.5) lib/rack/session/abstract/id.
actionpack (3.2.13) lib/action_dispatch/
activerecord (3.2.13) lib/active_record/query_cache.
activerecord (3.2.13) lib/active_record/connection_
actionpack (3.2.13) lib/action_dispatch/
activesupport (3.2.13) lib/active_support/callbacks.
activesupport (3.2.13) lib/active_support/callbacks.
activesupport (3.2.13) lib/active_support/callbacks.
activesupport (3.2.13) lib/active_support/callbacks.
actionpack (3.2.13) lib/action_dispatch/
actionpack (3.2.13) lib/action_dispatch/
actionpack (3.2.13) lib/action_dispatch/
actionpack (3.2.13) lib/action_dispatch/
actionpack (3.2.13) lib/action_dispatch/
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.13) lib/active_support/tagged_
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.13) lib/action_dispatch/
rack (1.4.5) lib/rack/methodoverride.rb:21:
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.13) lib/active_support/cache/
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.13) lib/action_dispatch/
railties (3.2.13) lib/rails/engine.rb:479:in `call'
railties (3.2.13) lib/rails/application.rb:223:
rack (1.4.5) lib/rack/content_length.rb:14:
railties (3.2.13) lib/rails/rack/log_tailer.rb:
rack (1.4.5) lib/rack/handler/webrick.rb:
/usr/local/rvm/rubies/ruby-2.
/usr/local/rvm/rubies/ruby-2.
/usr/local/rvm/rubies/ruby-2.
Rendered /usr/local/rvm/gems/ruby-2.0.
Rendered /usr/local/rvm/gems/ruby-2.0.
Rendered /usr/local/rvm/gems/ruby-2.0.
Best Wishes,
Matt
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/213bb250-fd4a-47c1-94f4-0229fed6f38d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment