Metaprogramming in Ruby
In this article, we’ll be looking at a few different aspects of metaprogramming in Ruby. For starters, what is metaprogramming? Metaprogramming is the writing of computer programs with the ability to treat programs as their data. It means that a program could be designed to read, generate, analyze, or transform other programs and even modify […]
Is Rails a good fit for writing rich frontend applications?
This is a question I’ve asked myself months ago, working as a consultant for a client with a quite unique app. Does it make sense to stick with Rails? Maybe it’s a good time to drop it? Ruby on Rails worked well in the app for quite a while. It was enterprise system for a rather interesting clients: They were accustomed to desktop-like experience of their tools. They were using classic spreadsheets software like Microsoft Excel back then. This was the first project I’ve worked on where the particular way of how user interface works was the real business requirement.
JavaScript Fatigue
In the last 10 years, the web has grown quickly from a document-only platform to full-scale applications. A good chunk of the applications which are now being developed are no longer native, and are instead relying on the web. This massive ecosystem change has not been painless and a lot of develop…
How to efficiently process large Excel files using Ruby
Last year, I worked on a project in which I needed to parse and handle large .xlsx files. Some of those files had more than 200K rows. I was looking for a gem that could efficiently do the job.
Test-Driving Ember.js CRUD Operations
In the final tutorial in this Ember.js series, we'll finalize our code and see how to test-drive standard CRUD operations in Ember.js.
Custom translations in Rails by chaining multiple I18n backends
Introduction One of the most under-appreciated features of Ruby on Rails is "Internationalization" (often shortened to "I18n"). Although it has been a feature of Rails since version 2.2, not a whole lot of applications make use of it. While this is understandable if an application is only ever intended to be used by speakers of one language, not using I18n from the beginning makes it time consuming to support additional languages if the need ever arises. I'm not going to extoll the virtues ...
Writing a microservice in Ruby
This article was originally published by Pierpaolo Frasa on his personal site, and with his permission, we’re sharing it here for Codeship readers. Everybody is talking about microservices, but I haven’t seen a lot of good, comprehensive descriptions of how to actually write a microservice in Ruby. This may be because a significant number of […]
How to use JSON API & Ember in Non-CRUD Applications
Make Easy Graphs and Charts on Rails with Chartkick
We work with data presented in the various formats every day. From my point of view, one of the most convenient formats for presenting numerical data is a graph. Users like graphs, especially interactive ones, because they are beautiful and fun – in contrast to dull static tables. There are many solutions to render beautiful […]