Search Results for "migrating-from-rails-5-to-rails-6"
Lessons
Forum Threads
How is the Trix editor on gorails.com "Parsed with Markdown"?
uh ehm, okay didnt know that, is there a guide which shows how to achieve that? looks promising! thank you for that information!

10
General
Reducing Transfer costs with AWS S3
yup, thats my next step and ill post an update here once i have some metrics and can compare

8
General
Spree commerce vs custom solution from scratch
Thank you for the reply @damianlegawiec and all the work your team has put in. Glad to see more momentum behind the spree community and full Rails 5 support.

6
General
Ruby issue when doing cap deploy production
I'm Brazilian, sorry by my inglish... I'm using bitbucket.
In my case capistrano run all commands ok, but in server no created any file its all empty in folder suppose deploy my project.

69
General
GoRails Performance - The Techniques I Use Discussion
Very helpfull as always, thanks Chris!
Quick question:
* What would happen in the hypothetical "exaggerated" case of upgrading the Digital Ocean plan to, say, 256GB of memory. All other things bei...

33
General
Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion
I exactly followed the example, but it doesn't work for me. The form is submitted but the button is not disabled and the text is not changing. Do I miss some JS magic? Any ideas?

18
General
File uploading with ActiveStorage in Rails 5.2 Discussion
Hi Chris, thanks for this video and the one on migrating from Paperclip. Can you address how we might setup ActiveStorage for multiple environments? I have one s3 bucket for production and one for ...

31
General
[HATCH] Some questions :)
Great questions!
1. SSL is coming really soon. I decided to launch without it just to get it out the door. If you're not embarassed by your first version of your product right? :) Both custom ce...

2
Rails
Building AnimatedGif.me Part 1 Discussion
with the last version of JSP ( rails 7) the compatible gem is "acts-as-taggable-on", "~> 5.0"
And after done the migration and try acts_as_taggable_on :tags and acts_as_taggable I get this er...

5
General
Could I deploy two different apps on the same server?
Yep! Hatchbox will automatically set PORT different for each app. 👍

7
Servers
Infinite Scroll in Rails with Stimulus.js Discussion
So for everyone on Rails7, the Rails.ajax method does not work anymore. At least for me this was the case. Therefore, you can simply switch the infinite_scroll_controller to a fetch method:
loa...

26
General
[HATCH] Error deploying app


4
Rails
Issue deploying Rails app with capistrano
There are a few possible things going on here. Is your rails master key saved as an env varaiable?
```
ENV['RAILS_MASTER_KEY']
```
This is why the nil class error could be happening.
If you don'...

2
Rails
Migrating From jQuery to Vanilla Javascript Discussion
@Chris, I know this episode is a little old, but this is still something I'm dealing with today.
I understand the rationale behind the move to get rid of jQuery in web apps: jQuery was from a ti...

3
General
Refile uploading via rails console
I'm not entirely sure on that one. I imagine you could write the same value in and then save without callbacks in your seeds in order to populate but not trigger Refile to do a reupload?

7
General
How to migrate from Heroku to Digital Ocean
Chris, will you be extending Hatch to do patching/updating? tim

11
Servers
Manage Assets With Rails Assets Discussion
Awesome Awesomer Awesomesttttt! I was using bower-rails and was not aware of this option. Thanks so much for sharing Chris!

26
General
How do I rollback a database migration and then update it
Hi Jack
thanks for getting back ( its not been deployed but have pushed via git to a shared repo)
so I have done rails db:rollback
== 20170120123129 AddUsualStartTimeToAreas: reverting ==...

3
Rails
Working with Lists from a Database
So it turns out I that I got it working quite well. The fix was to ensure I cross-refrencened the `contracts` and `payment_types` models with the ` has_and_belongs_to_many ` association:
```
#...

2
Rails