Colin Law wrote in post #1171724:
Exactly which folder is the file 8-captives-medium.jpg stored in?
Full path please.
On the view page in the browser do you see "8 captives medium" where
the image should be?
Post the bit of development.log showing the request for the view page
Please answer all three questions to save me asking again. Thanks.
Answer 1:- app/public/images/posts/images.jpg
Answer 2:- http:// prntscr.com /6rgtxn (Remove Spaces)
Started GET "/books/new" for 127.0.0.1 at 2015-04-07 11:51:02 +0530
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT
"schema_migrations".* FROM "schema_migrations"[0m
Processing by BooksController#new as HTML
Completed 500 Internal Server Error in 38ms (ActiveRecord: 0.7ms)
NoMethodError (undefined method `validation_presence_of' for
app/models/book.rb:1:in `<top (required)>'