Sharing Data With Javascript Discussion

22
General
Thank you for this video, very interesting way of autoloading new notifications.However, polling sounds a bit "old school". I read a lot about Active Live and websockets with the upcoming release o...
Someone replied

Suggestions for messaging

2
Rails
I'm working on a couple different apps right now. One is new and one I'm refactoring some new functionality into. I'm looking to add messaging between users in both apps. I'm up in the air on th...
shakycode replied

where to look for errors besides nginx error logs

3
Servers
Hi, My currently deployed Rails app seems to have issues with uploading images to Amazon S3 storage through CarrierWave. I get the familiar "We're sorry, but something went wrong." message. I ch...
shakycode replied
Solved

What is the best way to house view logic?

3
Rails
I have a view that is showing a list of steps. The steps are being pulled from the db with a status field. There is a method that I've created that creates custom text based on the status, ie: `...

GitHub Actions with Ruby on Rails: Setting up Continuous Integration Discussion

19
General
Congratulations on the video was very good, I will try today
Ignacio Alonso replied

PDF generate

1
Rails
I am using PRAWNS gem and i need to know how to generate pdf using prawns in a rails project
runte damaris replied

eager loading with custom joins

0
Rails
problem statement: Can I write a custom join for the included association? e.g. Course.includes(:course_details).joins(left outer join course_details on course_details.......) I want to add more ...
Daud Sadiq posted

Your biggest aha! moment?

5
Tips
Basically, what has been your biggest code aha! moment. That time when you understood some concept or mantra that you were familiar with but couldn't wrap your head around. For me, being the noob ...
Chris Oliver replied
Solved

Slack OAuth Error: Invalid client_id parameter

0
Rails
Hi guys! I'm getting this `OAuth Error: Invalid client_id parameter` after I insert the user creds. Here is my code contains the `client_id` - `devise.rb`: ``` config.omniauth :slack, ...
Ben posted

simple_format and Embedded content

0
Rails
I currently have a part of my website where people can submit user generated articles. I use simple_format to retain the layout. e.g. `<%= simple_format(@post.content %>` As more and more ...
Tony posted

How to create Custom Elements with Web Components Discussion

2
General
Interesting topic. Thanks for sharing! Curious to see more examples. Chris, do you use any web components for GoRails or Jumpstart Pro?
Christian Sedlmair replied

What is the best way to have User in some group and select those groups on Event

0
Rails
Hi, I have two models User and Event. User should belong to one group and User could attend Event based on selected group. Event could be open for one or many groups. My first solution was to crea...
Jaroslav Horák posted

update a model attribute with ujs

0
Javascript
i have a page that displays games(model) with a select box for the game result outcome. Game model `has_one :result, autosave: true` and I have a unique id for each row in the table based on the g...
Joel posted

Backend and Frontend co-operation

1
General
In our rails applications, I generally work on the backend (models and controllers) while another developer focuses on the (Views + JS magic). Generally he gets all the fields available from a mod...
Chris Oliver replied

How to use Dev Containers with Rails Discussion

20
General
Pretty excited about this because it makes Rails development so much easier to start for beginners or for teams using various operating systems. I also forgot to mention, there is a `devcontainer`...
Chris Oliver replied

Dubugging

4
Rails
Is there a method to debug hosted ruby on rails application and check the request and response object

Help with concurrency

2
Ruby
Hi everyone, how’s it going? I’m a Go developer transitioning to Ruby due to a job change. Typically, I solve various problems in web apps using Go’s lightweight threads (goroutines). For example, ...
Matheus Cumpian replied

Extracting Reusable Base Classes In Ruby Discussion

3
General
The cat is still playing in the background 😂

Nofications screen cast

2
Site Feedback
Hi Chris , I am following the notifications screen here : https://gorails.com/episodes/in-app-navbar-notifications?autoplay=1 all is well no errors but when i create a post the notifications aren...
JM replied

Integrating Mailboxer with Apartment

3
General
Hi, I'm trying to integrate mailboxer with apartment, and am having an issue with migrating the tables. I want the mailing service to be universally applied to the app, but apartment migrates the ...
Satchit Shenoy replied

Want to stay up-to-date with Ruby on Rails?

Join 91,129+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.