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
Building a simplified version of Instagram is a great way to learn Rails.
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.
Translate your Ruby on Rails apps.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
Security in production is important. We can use Fail2ban and NGINX to block malicious users from accessing our server and apps.
Learn how to enable the experimental new Just-in-time compiler for Ruby 2.6
We can use webpacker to create scoped styles for our Javascript widget and build an embed code that links to the latest version of our webpacker JS and CSS for our embeddable widget.
We don't want anyone to be able to embed your Javascript widget on any domain, so we'll setup our app to check the domain and only allow the widget on specific sites
Cross-origin Resource Sharing (CORS) allows your website to talk to other websites.
Embeddable Javascript Widgets often contain forms. We're using Vuex to build our comment form widget and we're going to use vue-map-fields to make this easier.
The next step in our embeddable javascript widget series is setting up our Vue frontend to talk with our Rails backend using Vuex
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.
Starting our Embeddable JS Widget series outlining the comment and discussion models and the basic webpacker setup
Learn how to link to the current page and add, remove, or modify params in the URL. This is handy for things like search or index pages with filters.
Join 41,193+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.
Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8
© 2021 GoRails, LLC. All rights reserved.