Transloadit Picture Uploads, Functional Programming, Rails Internationalization, and more
Recently, I had the need to investigate better methods of uploading pictures to our web application. It’s Rails-based and hosted on Heroku. As I’m sure many of you know, Heroku constrains its hosted apps with a read-only file system. A solution I found was Transloadit, and I’ll show how you can use it.
In part one of this series, we looked at the basics of functional programming. Today, we’re looking at higher-order functions and currying, two amazingly useful functional style features that Ruby supports with sublime class. To start with, let’s explore the different types of functions in Ruby and their special traits.
In part one, we built an application that lists locations in English and Spanish.In parts two and three, we added the ability to create and edit locations in English and Spanish. In this part, we’ll delete a location, showing localization concerns along the way.
Welcome to yet another Happenings in Ruby, the series that takes a look around the community and says “Hi, um, what’s going on?” This time, we look at Sinatra, GitHub’s style guide, git-presenter, and heaps more.
Arrays in Ruby are pretty important. I know … reading that sentence you might be thinking “Arrays are important in all languages” but that’s not really true. There are a lot of languages out there that encourage you to use specialized collections, while Rubyists tends to stay with basic types. It’s one of the truly beautiful aspects of this language that is difficult to get.