Comments (8)
oh sorry, my vision was blurred just now, I thought I saw some failed screenshot upload error, will give it a try, thanks !!
from lines-engine.
I am running into the same problem...
from lines-engine.
This works :
![image alt text](image url)
from lines-engine.
Thank you for sharing the solution!
But i only see this: ![image alt text](image url)
Could you share again?
Cheers
from lines-engine.
yes just put ![image alt text](image url) in your article with the url of your image
from lines-engine.
Same problem
from lines-engine.
This is happened when you guys are using Rails 5.*
Look at models/lines/picture.rb
on belongs_to :article, touch: true
. From Rails 5, belongs_to
is required by default. In this case, you haven't article
persisted yet. Therefore, you got the validation error message like above.
A workaround is updating codes by yourself.
Change belongs_to :article, touch: true
to belongs_to :article, touch: true, optional: true
in the picture
model.
See: #21
from lines-engine.
Fixed in latest release (1.2.6)
from lines-engine.
Related Issues (20)
- jQuery UI assets missing in production HOT 2
- Initial setup is broken HOT 1
- Error after running migrations HOT 1
- undefined method `helper` for ActionController::API:Class HOT 1
- Help Installing HOT 3
- Sass::SyntaxError in Lines::Articles#index HOT 1
- Unmaintained? Use my fork HOT 3
- Sitemap generator not working
- when executing "rails g lines:install": undefined method 'assets' HOT 1
- Articles missing at /blog/index.html when deploying to Heroku HOT 2
- Missing required option :name when trying to use S3 for storage. HOT 2
- After install, when trying to create a new article I get this error.
- Broken images HOT 4
- Commenting HOT 1
- Rails 6 Support HOT 1
- Proposal: Upgrade to rails 6 + authentication scheme
- can't figure out how to get route.rb to work with development environment HOT 1
- Still being maintained? HOT 1
- Update to show that this is no longer maintained
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 lines-engine.