Skip to main content
How do I create a reply comment system?
Rails • Asked by Jake Yeaton
I have been trying to get the hang of rails and I understand most of Rails but I'm currently stuck on how I would go about and create a reply commenting system. For example, just like on GoRails. C...
8
posts

How to mark a post as read, so that it won't show up again for a user?
Rails • Asked by Monroe Mann
I was looking at the unread gem but it seems a bit complicated and many seem to run into difficulty with it. Instead, I was thinking of adding an 'already_read' column (boolean) to the post mo...
7
posts

How I do use Rails.ajax in vueJs components using webpacker in rails 6
Rails • Asked by Hasan Ali
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
2
posts

Nested Comment Threads in Rails - Part 3 Discussion
General • Asked by Chris Oliver
Really great series, thank you for doing it. One question: I have a comment form below the comments and it is not clearing out. However, when I move above the comments it does. Any thoughts?
6
posts

How do I properly handle submit events in Vue + Rails?
Javascript • Asked by Felipe André Malaquias
Hi! I'm learning Rails, Vue and JS and I've got a question on the proper handling of submit buttons on Rails using Vue component to validate it. I'm using mdbootstrap for the styles. I built ...
2
posts

Group Chat with ActionCable: Part 4 Discussion
General • Asked by Chris Oliver
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...
56
posts

Page blinking when using tailwindcss
CSS Solved • Asked by edouard
Hello guys, I am trying to use tailwindcss on a 5.2 ruby on rails application with webpack. Everything is set up and works well according to the video [How to use Tailwind CSS with Rails](https:...
2
posts

Rails Application Templates Discussion
General • Asked by Chris Oliver
Hello,Im gettingCould not find "Procfile" in any of your source paths. Your current source paths are: /Users/my_user/Documents/dev/my_app/https:/raw.githubusercontent.com/excid3/jumpstart/masterUs...
40
posts

How to Test Validations in Rails Discussion
General • Asked by Chris Oliver
Where do you think test factories come in here? A RatingFactory could make sure that the object instance we're using for tests is valid without us having to care how it's achieved.
2
posts

Do you measure your app's uptime?
General Solved • Asked by Peter Marcano
If so, than how do you measure it? Any libraries, tools, services, etc worth investigating?
3
posts


How to test attachments in ActionMailbox?
Rails Solved • Asked by Lidia Wisniewska
I'm trying to test attachments using receive_inbound_email_from_mail, but when inspecting mail.attachments I get an empty array. Is there another way around this? receive_inbound_email_from_mail(...
5
posts

Adding external .js files to a new Rails 6 web app
Rails Solved • Asked by Safwan SM
I have created a new rails 6 app. in rails 6, javascript folder is outside assets. I have copied all the css and js files from an existing application to this new one and application.css,applicatio...
2
posts

How to use Action Mailbox in Rails 6 Discussion
General • Asked by Chris Oliver
This is great! Can action mailbox be used with a gmail account or does it have to be one of the services listed?
15
posts

Working with Lists from a Database
Rails Solved • Asked by Brad Morrical
Greetings, I am learing Ruby on Rails as I'm migrating a legacy app from PHP. I'm just a beginner in ROR, and having trouble setting up the simplest of relationships. In simplest terms, I have ...
2
posts

Search Filters with ElasticSearch Aggregations Discussion
General • Asked by Chris Oliver
This has been very helpful for a project I'm working on. Thank you. On mine, I wanted to add checkboxes to be able to select multiple keys. For anyone else looking to do the same, the solution I ca...
16
posts

Doorkeeper Omniauth OAuth Client Discussion
General • Asked by Chris Oliver
The video freeze between 0:18 and 0:40, not a big deal imo but I wanted to let you know :)
21
posts

Deleting Comments In Nested Threads Discussion
General • Asked by Chris Oliver
How about taking an OO approach i.e. changing the type to DeletedComment, e.g. using STI? This eliminates the code smell of conditionals in a partial.
5
posts

Subscriptions with Stripe Discussion
General • Asked by Chris Oliver
Hey Chris! Not sure if this is just me, but there seems a problem downloading the video's.
89
posts

How to create many subcategories in rails?
Rails Solved • Asked by Nicolás Bobb
Without using any gems how do I do this in rails? I see the gem Ancestry (https://github.com/stefankroes/ancestry) ``` Main Category Sub Category Sub Category Sub-sub Category Main Cate...
3
posts

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.