[Rails] Re: Adding Image icon to a Blog title post

2016-02-29 Thread Elysee Montissol
Thank you, Thank you, Thank you!, removing the nil? actually worked. Question How friendly is rails with videos, I also want to upload videos. but can't seem to find any tutorials on doing that. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to

[Rails] Adding Image icon to a Blog title post

2016-02-28 Thread Elysee Montissol
I created a simple blog and I'm using paperclip to be able to add images to a Post. I installed the 'themify-icons-rails' gem and what I want to do is automatically add a picture icon next to the title of a post when the post has a image that's been uploaded, to show that the post has a image. I'm

[Rails] Help! Haml::SyntaxError in Posts#show

2015-03-22 Thread Elysee Montissol
Ok, so I'm challenging myself to actually learn ruby/rails, I'm currently doing the 12 on 12 challenge by mackenzie childs, i'm doing the Muze app. I'm trying to add a comment section to the post section of the site but when i try to pull up a post, i'm getting: Haml::SyntaxError in Posts#show Ex