Zum Inhalt springen

Ruby on Rails

Archive of blog posts with this tag

Photovoltaik-Dashboard als Web-Applikation

Blick auf die Solarmodule
Die Energiewende findet seit kurzem auch im eigenen Heim statt - auf dem Dach unseres Hauses befindet sich nun eine Photovoltaik-Anlage. Damit kommt der im Haus benötigte Strom größtenteils aus der Solarenergie und nicht mehr aus der Verbrennung von Kohle, was unabhängig von der Frage nach der finanziellen Rentabilität eine gute Sache ist - und außerdem für einen Web-Entwickler eine interessante Herausforderung darstellt, über die ich berichten möchte.

Exif analyzer for Active Storage

Photo by Cristian Escobar on Unsplash
Rails 5.2 introduces Active Storage, which can replace external file uploading gems like CarrierWave, PaperClip or Shrine. There are some helpful articles and tutorials about it, e.g. by Evil Martians, GoRails or Drifting Ruby. I want to demonstrate how to add one more feature.

Dockerize Rails, the lean way

Photo by Guilherme Stecanella on Unsplash
Building a Docker image for a given Rails application is easy – unless you want the Docker image as small as possible. Docker is awesome, but handling large files is annoying. Read how I have reduced the image size of a Rails application from 1.6GB to 329MB.