Search Results for "migrating-from-rails-5-to-rails-6"

Forum Threads

File uploading with ActiveStorage in Rails 5.2 Discussion

30
General
Do previewers for Word Files and Excel 
Michael Prince replied

Deploy Ubuntu 18.04 Bionic Beaver Discussion

79
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!

Spree commerce vs custom solution from scratch

5
General
Hey Chris, like most people already mentioned, awesome content on GoRails.com. I love how you give additional explanation to how things work and not just a step by step tutorial how to make somethi...
William Gillett replied

[HATCH] Error deploying app

3
Rails
I'm getting this error when trying to deploy my project with hatch. I made sure I have the RSA file. Deployment Error ``` Fetching origin Warning: Identity file /home/deploy/.ssh/thinkrtc_rsa not...
Chris Oliver replied
Solved

Issue deploying Rails app with capistrano

1
Rails
Hello all. This is my first time ever trying to deploy a Rails application. I followed the guide to do so on Ubuntu 20.04, but I run the command `bundle exec cap production deploy` and it gets to t...
William Kennedy replied
Solved

How is the Trix editor on gorails.com "Parsed with Markdown"?

9
General
I was considering implementing on my website the ability for users to switch between a markdown editor or the trix editor but then I noticed on this gorails.com editor (which appears to be Trix) it...
Sebastian replied
Solved

Ruby issue when doing cap deploy production

68
General
Hi, I'm following the Deploy Rails guide. However, when I run cap production deploy I'm getting this error message: $cap production deploy DEBUG[be6b6bd6] Running /usr/bin/env [ -d ...
shakycode replied

Building AnimatedGif.me Part 1 Discussion

4
General
This is awesome Chris! Thanks so much! This will help me and my team better understand rails coding from start to finish!
brobles replied

Capistrano deploy fail to do rake db migrate

0
Rails
I follow this tutorial from crabs code and do all as in tutorial but when i do cap production deploy initial capistrano fail to do rake db migrate. I think is because capistrano not do rake db crea...
Reni-amorim posted

Added last_read_at to chatroom_users_controller: No method error

11
General
Added the following to my chatroom_users_controller but keep running into a NoMethod Error. ``` def create @chatroom_user = @chatroom.chatroom_users.where(user_id: current_user.id).first_or_cre...
Rob Sturcke replied

Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion

18
General
Small comment about those delete links (I really dislike using links for delete requests): when you need to put a delete button inside form, consider moving the submit button outside of the form in...
Colin Ambler replied

Migrating From jQuery to Vanilla Javascript Discussion

47
General
`document.querySelectorAll` looks like return an array, but in fact it is an object. It's important to keep this in mind in order to avoid some problems iterating the dom elements.
Dan LeGrand replied

Migrating Application from Heroku to Hatchbox AWS - rails console fails

1
Rails
I started migrating the application from Heroku to AWS using Hatchbox. The deployment was successful. But when I tried accessing the rails console, I'm getting a `NameError`. ``` /home/deploy/app-...
David replied

Manage Assets With Rails Assets Discussion

25
General
Love rails assets. I first found out about it about a year ago, and it quickly became one of my favorite ways to grab front end libs. :)
Pranava Balugari replied

[HATCH] Some questions :)

1
Rails
Hey there, i have a few questions rg. your new product Hatch. 1. is there a Heroku-like way to insert a SSL cert or do we need to do that manually? 2. What permissions are we granting so you can ...
Chris Oliver replied

Refile uploading via rails console

6
General
So I'm using Refile and I'm trying to migrate some existing data that I need when I seed the database (migrating to Refile from existing solution and need to keep existing data). When I try testi...
Chris Oliver replied

Fatal - not a git repository on server (deployed with Capistrano)

1
Rails
Some time recently, my app started throwing `fatal: not a git repository (or any of the parent directories): .git` on the server. It shows up if I ever remote in and run a bundle exec command (e.g....
attractive colt replied

Creating A Blog Post Model Discussion

21
General
Awesome! : )
Ryan rose replied

Could I deploy two different apps on the same server?

6
Servers
Hello everyone, Yesterday, I started using HatchBox to deploy my Rails applications and it is working just fine. I was thinking about deploying 2 Rails applications on the same Vultr | 1GB RAM | ...
Solved

How to Migrate attr_encrypted to Rails 7 Encryption Discussion

2
General
Thank you Chris, really nice :)
MartyLShaw replied