Ruby on Rails
We answer take a look at the Code Insight feature from RubyMine to help answer the question: "what does RubyMine do that a text editor can't?"
Rails really takes the idea of separating an application's data, user interface, and control logic to a whole new level. In this article we'll see how.
Léonard demonstrates the possibilities offered by GraphQL and Rails by implementing a simple movies database API.
David Bush discusses the importance of understanding core functionality in Rails, showing how indexes work and how to implement a database by yourself.
Vinoth completes this two-part series on authenticating your Rails API using JWT by handling reset password and email endpoints.
Parth Modi generates executable docs for his Rails API using swagger-docs and swagger-ui.
Ilya Bodrov-Krukowski walks through 10 common security issues when using Rails and how to avoid and manage each one.
In this episode, Tim and David are joined by Glenn Goodrich, aka Ruprict, a developer by day and SitePoint's Ruby Channel editor by night.
Parth Modi explains how he discovered that fixing the N + 1 Query Problem isn't always about reducing the number of queries. Sometimes, more queries is better.
This is a recap of our recent AMA with Glenn Goodrich, our Ruby channel editor and author behind Rails: Novice to Ninja on SitePoint.
Viktoria Kotsurenko reviews some of the basics of MVC in Rails, showing why everything should be skinny.
Ilya Bodrov-Krukowski pens the first of a two-part series building a complete messaging system with Rails and ActionCable.
Given that software is changing at the speed of light, how can something like Rails an object-oriented language persevere? Is it worth learning? Yes!
Sarmad Sabih runs through some of his favorite best practices for Rails applications.
Password-less authentication is becoming more popular, and Vinoth shows you how to do it from scratch in Rails.
One of Rails' best conventions for DRYing up your code is ActiveSupport::Concern. Kingsley Silas shows you how to use it.
William Kennedy shows you how to use Enums in Rails to map values on your model, keeping your code readable.
Vinoth shows you how to authenticate the users of your Rails-based APIs with JSON Web Tokens (JWT) from scratch.
William Kennedy shows a technique to dynamically chain many ActiveRecord scopes together to clean up your controller code.
Ilya Bodrov-Krukowski runs through several common Rails performance problems, showing how to find them via Skylight, and how to fix them.
Sarmad Sabih walks you through every step of continuous deployment a Rails app to EC2 using Bitbucket, Capistrano, and SemaphoreCI.
Ilya Bodrov-Krukowski shows you how to do nested forms and attributes in Rails with the Cocoon gem.
Christopher Vundi walks through setting up an interest feed model and application for your users in Rails.
Ilya Bodrov-Krukowski runs through a very practical example of using Chartkick to create a graph with Rails.
David Bush shows you some basic and advanced techniques with Byebug, the definitive debugger for Ruby 2.0.
Ardian Haxha demonstrates how to use the Docker Remote API and Ruby to perform Docker tasks like image and container creation.