rubyRuby on Rails custom Capistrano tasksWriting and using custom Capistrano tasks is very easy and automating your deployment process may save you a lot of time and troubles. Here…10 Jun 20173 min read
rubyRails number_to_currency change locale defaultsActiveSupport helper method may be extremely useful if you deal with prices/wages inside your app. By default uses your current locale…22 Apr 20171 min read
railsRails 5 with PDF.jsOpening PDFs directly on the web page was one of the requirements for my recent project. The obvious choice was to use the PDF.js library…16 Apr 20171 min read
railsGenerate PDF with Prawn gem in Rails 5 applicationDuring my recent project development, I came across a problem of generating PDFs. Fortunately, there is a nice gem for creating PDF…05 Apr 20175 min read
rubyDry-validation custom error messagesWhile defining custom errors is described in the official documentation I had a few issues. Here are my findings. First of all integration…31 Mar 20171 min read