Comments (6)
Ok, i see now that's problem with carrierwave. But why is model using only paperclip function?
from rich.
I don't have that time today and tomorrow, would be nice if someone could dig into this.
from rich.
Looks like duplicate paperclip related code in app/models/rich/rich_file.rb
and lib/rich/backends/paperclip.rb
from rich.
👍
I moved all paperclip code to paperclip.rb
(#183) and it works fine with paperclip and carrierwave
from rich.
This seems to have a pull request, can it be merged?
from rich.
I'm having this issue as well - and I definitely have the paperclip gem installed. I'm using Rails 5 and paperclip 5, which is likely the issue.
Any suggestions?
=> Rails 5.0.0.rc2 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
Exiting
/Users/ecook/.rvm/gems/ruby-2.3.1/gems/activerecord-5.0.0.rc2/lib/active_record/dynamic_matchers.rb:21:in `method_missing': undefined method `has_attached_file' for #<Class:0x007fef9578aa00> (NoMethodError)
from /Users/ecook/.rvm/gems/ruby-2.3.1/bundler/gems/rich-2c8f85438e73/lib/rich/backends/paperclip.rb:9:in `block in <module:Paperclip>'
from rich.
Related Issues (20)
- Unable to autoload constant RichInput HOT 20
- NoMethodError in Rich::FilesController#index
- Custom toolbar - how create full toolbar
- Rails 4.2, Formtastic 3 HOT 1
- How to use it?
- How to use it?
- How to use it? HOT 1
- Circular dependency issue HOT 5
- I18n for active record
- Milestones: Version 2.0.0 HOT 3
- Pick version with RichFile HOT 1
- CKEDITOR is not defined HOT 2
- MediaEmbed: no button HOT 1
- where to ask for help? -- mailing list, stackoverflow tag, etc HOT 4
- Add title to image
- Disable images upload HOT 1
- Prevent editor from wrap text in paragraph
- Is there a way to use rich with Rails FormBuilder?
- undefined method `new' for "Rack::RawUpload":String HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rich.