So I found this awesome gem called RMagick for image manipulation in Ruby on Rails. Railscast has an excellent tutorial on creating thumbnails of uploaded images and getting set up with RMagic. However I wanted to do more than just create a thumbnail of my images. I wanted to easily add a black border to all of the images, much like with Instagram.
So on one of my personal projects I’m working on I have an input area that is used for blog posts. The default “text_area” in Rails is small. Certainly not a box big enough for your typical blog post. Of course one can resize this manually in one’s browser. However, I’m building this to make some easy enough my Grandma could use.
Recently I started learning Ruby on Rails to build a couple projects. I’ve heard of Bootstrap and heard you can use it quickly to make a site look good. Since Bootstrap seems to be the popular way to do things I wanted to test it out myself. Unfortunately, I was immediately lost. Things were not very clear to me on what exactly I was suppose to do with it. So here are some of the things I wish I would have learned about Bootstrap straight out the gates.