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.
Tag: Ruby on Rails
Read Start Your SEO Right with Sitemaps on Rails and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
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.
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.
Read Video Uploads with Rails and Ziggeo and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Read The Conventions of Contributing to Open Source and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
Vinoth shows you what the Heroku Metrics Dashboard displays and then runs through some scenarios on improving performance using these metrics.
Read Real-Time Messaging with Rails and ActionCable and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.
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.
Vahob Rasti uses Dropzone.js to equip a Rails application with multiple file, asynchronous upload.
Ilya Bodrov-Krukowski runs through a very practical example of using Chartkick to create a graph with Rails.
Kingsley Silas compares several Rails-based Content Managment Systems giving use cases, pros, and cons for each.
William Kennedy demonstrates using SQS and Shoryuken to process queued requests to a third-party API. Very useful
Sarmad Sabih demonstrates configuring Amazon's Simple Email Service with Rails, allowing you a cheap email solution from your app.
Vinoth demonstrates how to take a complicated search model and open it up with tags. This is a tried and true approach to improving search on both ends.
Sam Sarmad shows how he removed a ton of duplicated test code when testing ActiveModel validations.