
I'm feeling lost about learning JavaScript, HELP!
10
Javascript
Hello people,
for the past weeks or months I've been trying to learn JS by my self.
I started learning with Modern JavaScript and read most of the basic stuff but I couldn't continue and I stoppe...

Could we get a video on passing Devise current_user (or general user roles) into a Turbo partial?
1
General
Hi Chris,
I was just wondering if there is any possibility of getting a video or some tips on including Devise current_user data or user roles inside a turbo stream - specifically to show/hide edi...

How do i run sneaker worker in rails 6.0 ,ruby '2.6.3' ?
2
Rails
I'm trying to run rails app using command foreman s
the ProcFile contains these 2 lines :
web: bundle exec passenger start -p 8000 --max-pool-size 1
sneaker_data_publisher: WORKERS=DataPublish...
lpiffer replied
Solved

CRUD on attribute in N/N join table
3
Rails
Hi!
I am struggling with a many to many relation to access an attribute stored in the join table.
I basically have two models :
- "User" which has_or_belongs_to_many :items
- "Item" which has_or...
Chris Oliver replied
Solved

How to pass the value of input type radio in application_helper?
0
Rails
I am creating an admin template, and there is a customizer section in which I have created 3 radio buttons (named: Red, Blue, Green). There is a left sidebar navigation menu and I want to change ...
theshashiverma posted

public/javascript/lib files not available in production
5
Rails
I have added some javascript files to pubic/javascripts/lib and I have referenced them thus
... type="text/javascript" src="/javascripts/lib/add_all_plots.js" ...
They can be loaded in dev no p...
Chris Oliver replied

How do I use includes to return all columns of associated table?
1
Rails
I hope someone here can help me. There's a lot to ActiveRecord I'm yet to understand and I'm a little lost at the moment.
I have three models. `Issue`, `Language`, `Labels`.
An issue has a langua...
Oliver replied

Free SSL for Rails and Nginx using Let's Encrypt Discussion
4
General
Hey Chris! looks like these instructions are no longer working with the latest versions of letsencrypt that use certbot.. do you know how to get it runing with the latest version? I Tried using cer...
Lucas Moraes replied

Resource on how to do filters with checkboxes
1
General
I'm trying to create a way to filter my User results based on these filters. I'm looking for a guide with example on how to do this.
http://image.prntscr.com/image/07e7113ac239436fa129fa874b5acfa...
Jacob Montgomery replied

How do I publish an RSS feed from my rails app?
2
Rails
I have a simple blog setup with a posts model. Is there a gem that can publish a feed or should I create thus from scratch?
Stan Smith replied
Solved

How do i create another table when a user signs up?
2
Rails
When a user signs up, i ask them for their company name so i can then associate that user with a company. How would i go about doing this? I am using devise, so somehow i will need to store the com...
Alan Reid replied
Solved

Grabbing all the has_many relations of a specific collection
1
General
I've got:
```ruby
class User < ActiveRecord::Base
has_many :photos
end
class Photo < ActiveRecord::Base
belongs_to :user
end
```
Each user has a "shadowbanned" attribute (t/f). I'd lik...
Chris Zempel replied

Tip of topic for new episode on hotwire
1
Rails
How to use turbo frames for more complex pages that has menu and sidebars that themself are at least somewhat dynamic (say user name, sidebar options that change depending of what page you are at e...
montigokylie replied

JSON Web Tokens (JWT) vs Rails Session Cookies Discussion
8
General
Nice work Chris (and getting these prepared over the Holiday season), very keen for the implementation video!
NG DAVID replied

Fixing Counter Caches in the Paranoia Gem Discussion
1
General
That's EXACTLY the type of advanced stuff, that I'd love seeing more in Go Rails!
Jeni RANDRIAMIHAJASOA replied

Video Hosting API Client from Scratch Discussion
2
General
bunny is an amazing video hosting service, i wish there's more content for bunny and tus 🙏
Carl Tanner replied

Prevent spam bots from hitting app
7
General
Hi guys and gals
Wasn't sure which category to put this in but here goes anyway...
I have a Rails 5 app in production hosted on Heroku. I recently noticed a particularly high load on the servers ...

How do I keep old files uploaded with active storage?
0
Rails
I'm using active storage with active_storage_db gem to keep files in Postgres instead of storing them in the cloud.
I have a document which I upload - has_one_attached (i don't need to upload mult...
hcosteira posted

Manage multiple rails project with different versions of rails and ruby | RVM vs Rbenv | Bundler
0
Rails
I am new to rails so I have a lot to ask and I find out there is a huge debate on ruby version managers i.e RVM and Rbenv, and there is a bundler too. Now all the articles I have read are old and t...
usama akram posted

JSON:API Format and Active Model Serializers Discussion
18
General
Very nice video as always, but there's an editing problem on your video. Check it between 15:00 and 17:00. You actually repeat the same thing twice, but the wordings you use is different, I guess y...
regedarek replied