Boy1da
Joined
40 Experience
0 Lessons Completed
0 Questions Solved
Activity
Hey Chris, thanks for the video. Will the MiniMagick gem work with the method in your method? Because I'd like to upload any image then have it resized to certain dimensions and orientated the correct way automatically for me.
After a bit more playing around, managed to solve it. Thanks again @Greg S.
Hi Greg, thanks for that. Once updated, that throws up a 'NoMethodError in BlogPosts#index' error.
Hi Chris, thanks for the video. I was wondering how do I truncate the text on the index.html page? I only want to show 130 characters of the content (previously body).
<%= truncate(blog_post.content, :length 130) %> no longer works.
Thanks