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.
>
> Please answer all three questions to save me asking again.  Thanks.
>
> Colin
Answer 1:- app/public/images/posts/images.jpg

Answer 2:- http:// prntscr.com /6rgtxn  (Remove Spaces)

Answer 3:-
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
#<Class:0xa478d1c>):
  app/models/book.rb:2:in `<class:Book>'
  app/models/book.rb:1:in `<top (required)>'
  app/controllers/books_controller.rb:17:in `new'


  Rendered
/home/amit/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb
(14.6ms)

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/effc441b9fe80715748861647e345797%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to