How to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
Subclasses should add to a base classes behavior, not replace it
Adding user avatars is pretty easy using Rails' ActiveStorage feature. We'll be using Devise in this example, but this applies to any user authentication system.
The first part of the Forum series, we talk about how the database and structure of the forum is designed
Add JWT Authentication to your Rails API from scratch
Add masquerading (the ability to impersonate or login as another user) to your development or admin environments using the devise_masquerade gem
Geocode (or geolocate) addresses using the geocoder gem along with the Google Maps APIs and then use it to search your database by location
Add various types of charts to your Rails app with Chartkick and use Groupdate to make easy group queries in SQL
Learn how to invite users to your application with devise_invitable
Learn how to enable direct uploads in the browser to Amazon S3 or DigitalOcean Spaces using Rails' new ActiveStorage library
Techniques for taking your database models and using attributes to generate pretty urls
Drag and drop sorting is pretty easy to add to any Rails application using jQuery sortable
Learn how to separate your application data into different accounts or companies
Learn how to pull business logic out of your models and put them into Plain Old Ruby Objects (POROs) in order to clean up your code and keep chunks of business logic in reusable bits.
Add file uploads to your application with the Shrine gem
Learn how to format your API easily using Active Model Serializers and the JSON:API spec
Use the merge method to prevent duplication of ActiveRecord scopes when you're querying across different models
Learn how to add @mentions, autocomplete, notifications, and link parsing
Use ActiveRecord::Store and ActiveRecord-TypedStore to save user preferences and settings to a single column in the database
Installing Ruby on Rails
A look into the files and folders inside every Rails application and how they fit together
Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.