Blog posts with ruby tag
Rails 5.2 and Active Storage - the new approach to file uploads
Rails 5.2 and Active Storage - attach files, the modern way.
Capistrano deploy to ubuntu with systemd, nginx/puma and rbenv
This tutorial will show you how to deploy a Rails app via Capistrano, run it with Puma, restart it without sudo access and be able to host multiple environments and apps on same server
Ceasta: how to create custom text area using contenteditable element
Find out how to create adjustable text area using the contenteditable element and add text highlighting.
Best Books to Learn Ruby on Rails - intermediate level
Part two: RoR tutorials for those with some coding experience.
Rails Optimization: Introduction To Cache
As long as your application is small and has a limited amount of visitors everything goes smooth and fast. At this stage you don’t have to worry (well, you should, but let’s assume that time to market was the key factor) about making it more performant by focusing on website optimization. But as your website grows, gains popularity and visitors, loading time starts to increase...
Brief introduction to internationalization in Rails
After creating your Ruby on Rails app you obviously want to reach as many users as possible. That’s the right time to think about internationalizing it, as not everyone is an English native speaker or uses it fluently enough. Fortunately, there is an easy-to-use and extensible framework to make your application multi-language-friendly.
Active Record - brief introduction for beginners
When creating an app in Ruby on Rails, from the very beginning, on every single step of your developer's journey, you're going to use ActiveRecord methods. Lots of them, and frankly speaking, it's good to know them well (if not by heart).
Ruby Methods: differences between load, require, include and extend in Ruby.
Small programs usually can be stored in one file so it won’t be a problem to read (and understand) them. Things start to complicate as your code grows: one day you may lose yourself in your own chaos and find it hard to organize your application. At this point, the best idea is to split your code (as a whole) into several files. To do that you need some helpful tricks that will let you use those files together. That's where the Ruby Methods come in.
Loops in Ruby - all possible approaches
Ruby comes with many statements and methods designed for looping. This amount can astonish both fledgling coders and developers experienced in other programming languages. In this post you'll be introduced to all ways of creating a loop in Ruby.
Ruby Gem Guide: how to install and work with local gems.
New to Ruby? This Ruby Gem Guide will show you how to install and work with our favourite local gems.
Best Ruby resources worth following.
Offline over the weekend? Computer turned off for a while? Temporary no Internet access? Grab a coffee and enjoy: Ruby press review - list of essential Ruby top stories we're following to stay up to date.
Charge your batteries! SaaS in Rails tutorials are about to begin.
But who'd like to learn during the weekend... Relax, chill, rest a little. And brace yourself! Rails Tutorial is coming!
Creating your own SaaS Rails application: where to begin? what to use?
Do you know what fat cats like twitter (in its early days), yellow pages, basecamp, hulu, shopify, slideshare or github have in common? They’re all, along with more than other 800.000 existing websites running Ruby on Rails. How about staying behind such tech success by yourself?
Why do we do Open Source?
As we make our living from using open source projects we feel that we owe something to the community, that we need to pay back our own contribution. To create the greater good that everyone may benefit from. Yeah, we’ve all heard that before, right? ;-) But besides paying a debt of gratitude, are there other reasons for opensourcing our own code? What exactly makes us do the open source?