How does Rails work?

So you’ve decided to learn Rails. You could dive straight in to learning the code, but Rails is an opinionated framework and it expects certain things to be done a certain way. A high-level understanding of how it’s structured and what goes where is always important. So let’s follow a hypothetical web-request on its journey… Continue reading

How do I save Paperclip uploads in a particular folder?

The Paperclip gem is probably the most used gem for uploading files into Rails apps. It’s been around for a very long time, it has a large community around it and is properly battle-tested. However, it does allow you some control over the generated URLs, but not a great deal. You can specify the url… Continue reading