Ruby on Rails Community Forum

Testing ActiveStorage File Uploads and Fixtures Discussion

0
General
Should this work for system tests? When I try to run this in a system test `attached?` is true, `blob` exists, but there is nothing in `tmp/storage`, and when I try to access / generate a varian...
RS posted

Suggested alternative WYSIWYG editors that integrate easily with Rails 6 / ActiveStorage

2
Gems / Libraries
Testing out Trix and it seems to be very lacking in features: - Can't set image size via css. - No layout functionality - Can't wrap text around images - No image alt text - Only h1 header! - No f...
RS replied

How to prevent missing images or assets after deployment in rails

0
Rails
I'm building a website as side project with a friend. Ngnix + Rails in docker. After deployment, I usually do assets:clobber and assets:precompile. This changes the name of the assets. When I try...
oscarlopezalegre posted

Setup MacOS 10.14 Mojave Discussion

19
General
Is anyone else receiving errors with MacOS 10.14 Mojave and the Mysql2 gem? I'm also getting a "Library not loaded: libssl.1.0.0.dylib (LoadError)" error when executing "rails server". Thanks!
Kemble Hildreth replied

How do I inregration any theme with gem for example gem 'coreui-rails' in rails 6

0
General
How do I inregration any theme with gem for example gem 'coreui-rails' in rails 6
Nejdet Kadir Bektaş posted

How would I go about building a price-comparison engine with Rails

0
Rails
Hey guys, I just started a project (based off of Jumpstart Pro). One of its core features should be a price comparison: I'd like the app to fetch prices across different websites/webshops several ...
karatepicke posted

Preferences & Settings with ActiveRecord::Store Discussion

24
General
Great stuff
sthapit replied

Using mail_form gem and Sendgrid - having an issue

1
Rails
I'm trying to test sending an email from the page, but I'm not receiving any emails in my inbox. While in the rails console, it looks like the email is sent correctly. I'm just not getting it. I be...
Mark replied

Render before action completes

4
Rails
Controller action is taking a couple of seconds (complex calculations in dashboard) and i want to display a spinner on the html.erb file while waiting so basically start the rendering before the ...
julianrubisch replied

Realtime Group Chat with Rails [Revised] - Part 3 Discussion

0
General
Hi, (I've now run through the videos, implementing them from scratch to this point twice, and still getting the same issue) Looking at the frames in the cable entry in the Network tab of Dev Tool...
Tom Stone posted

How do I properly Shallow nest while doing a Many to Many association?

1
Rails
So I am teaching myself rails through online tutorials and such. I have followed many on how to make a CRUD. I have learned about nested routes and how to accept attributes and dependents, etc. Now...
Brendan Feltrup-Exum replied

Help with Rails Application in Apache

0
Rails
I need help with getting a rails application working with Apache. I have the following virtual host configuration ServerName concerto DocumentRoot /usr/share/concerto/public RackEnv ...
Keith posted

Would love an episode on setting up AnyCable on Heroku

2
Servers
AnyCable is the best approach for scaling ActionCable above 500 connections. Requires an extra server on Go. https://www.reddit.com/r/rails/comments/90z2h3/scaling_actioncable_on_heroku_in_2018/ ...
Andrei A replied

Need help setting up development environment for an project named Noticed (Open source)

2
Rails
Hi all I am trying to start contributing to the open-source world and so I am trying to setup Noticed gem locally (https://github.com/excid3/noticed). I have my postgres server up. After installi...
Chris Oliver replied

Running only a part of a huge (2000+) specs suite

2
Testing
I'm working on a Rails app with 2000+ feature specs. That's a lot and takes 45+ min to run (8min when running in parallel containers). What are the strategies to speed this up? Is there a smart wa...
karatepicke replied

Ask password after confirmation (devise)

1
General
Hi, I am fairly new to rails and i'm trying to figure out how to get a user signed up first and later after they go to account confirmation link mailed to them ask for password. I read about it o...
karatepicke replied

Is fast_jsonapi still recommended with last commit being 2018?

0
General
Is fast_jsonapi still a better option versus jbuilder? Looks like there's another one called jsonapi-serializer that's a fork of fast_jsonapi.
Taikon posted

Realtime Group Chat with Rails [Revised] - Part 5 Discussion

1
General
Hi Chris, great series. Are you planning on revising the DM episode? Or is the implementation pretty similar to the previous one?
Chris Oliver replied

Geocoding, Geolocation and Search with Geocoder + Google Maps APIs Discussion

18
General
great job chris
elie kazad replied

Announcements

1
Rails
Hi Chris, How do you do the announcements in Hatchbox? Thanks, Steve
Andrew Porter replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.