Rails: attribute set correctly in console but not in view?

Try to put a logger. Debug @cvit. Inspect in the controller (after the find) and take a look at the console if there're data coming from db.

– Benjamin Aug 5 '11 at 16:14 check the terminal, where all logs are displayed. Are you sure that @cvit = Cvit. Find(params:id) are returning something?

– Dumitru Ceban Aug 5 '11 at 16:20 in the log I am seeing alot of this (which I have never seen before) Creating scope :page. Overwriting existing method Cvit.page. What is that?

– Benjamin Aug 5 '11 at 16:24 Pleeeeease someone help I don't understand wha is going on! – Benjamin Aug 5 '11 at 18:19 The error says "undefined method `html_safe' for nil:NilClass", which means that "@cvit. Overlay_coords_gray" is null, so the Nil class doesn't have the html_save method.

Check also guides.rubyonrails.org/debugging_rails_applications.Html – Dumitru Ceban Aug 5 '11 at 19:07.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions