
collapse-able form feature in nested forms
3
General
Hi Guys I am looking for a way to implement a collapsible feature within nested forms, such that during edit the existing forms dont open up in full and user decides which forms he / she wants to ...
JM replied

Asset Pipeline
1
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...

Activerecord adapter for sqlserver is loaded AFTER connection attempt is being made (?)
0
Databases
Hi!
I am deploying a rails 7 app (7.2.2) on ruby 3.3.5 with an AR adapter for sqlserver (activerecord-sqlserver-adapter). As of version 7.2 the adapters have to to register themselves with AR in o...
Mark Hapke posted

how to properly configure webpack for production
0
Rails
root@ubuntu:~/Make-Rails# ./bin/webpack
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.no...
Sourabh Soni posted

How do I make an app to get a video by url from youtube download it / process it/ and uploaded to a local db?
2
Gems / Libraries
I liked the shrine tutorials and would like to use that as an upload to local disk solution.
I also found a gem called youtube-dl (https://github.com/layer8x/youtube-dl.rb) to help download from Yo...
Solved

How do I create a new rails application with ubuntu and postgresql
0
Servers
I'm currently trying to create a new rails app. I can easily do this with `rails new app --database=postgresql` but when I change the `database.yml`, I'm using the same user for every application f...
Arnas Klasauskas posted

Archive old pages to a static page
1
Rails
Maybe a weird question, but I have a report dashboard application, where a specific report contains a lot of records in the database. In general users only check the last 3 reports frequently, so I...
Jesus Castello replied

Load only products based on region ideas please :)
3
Rails
Hi all,
Im trying to work out the best way to do a task.
On the users menu, they are able to select a region they are a member of. Once a user selects a region I want to load all data on the page ...
Jacob Montgomery replied
Solved

How do I implement nested comments
1
Rails
I'm looking for a tutorial on how to implement nested comments in my project. The requirements are that the comments must be editable and deletable by owner as well. As a plus, we plan on using `ac...
Sean M replied

RailsConf
1
Rails
Work is sending me to RailsConf in April, anyone else going to be there?
Chris Oliver replied

Can someone help explain how to use test_double to mock a gem class in my app?
7
Testing
Hello,
My app uses a gem that goes out to network devices. I want to write some specs that test my classes without going out to the network devices via the gem. I want to use test_double or some...
Bill Snapper replied

Jekyll, MiddleMan or CMS for a blog site?
3
General
Hi guys,
I've build quite a few production apps now with rails and I'm embarking on my latest project which is a niche blog site. I guess going with rails is a bit of an overkill with this one so ...
Alan Reid replied
Solved

Multi-User Spreadsheets with ActionCable: Part 3 Discussion
1
General
Just an FYI... the download file for this episode has "138" prepended to it instead of "139".Thanks
Chris Oliver replied

How can I use Rails Each Array and In-page search to show/hide div content
2
Rails
I'm trying to set up a simple search bar to show/hide content in my rails app. Specifically, trying to allow someone to search for a specific user via username in my chatroom which are being shown ...
Omar Khedr replied
Solved

Can you make an episode on Recurring Events- recurring_select + ice_cube
17
Site Feedback
Can you make an episode on this! I've gotten to the point of adding recurrence rules, but having trouble generating and showing events that are recurring on future dates the same way they appear r...
Francisco Quinones replied

Magic Link Authentication with generates_token_for in Rails 7.1 Discussion
7
General
is magic link login considered secure ?
can it be used for a production website reliably ?
Thanks
Andrei A replied

Open Closed Principle Discussion
9
General
Loved the bla bla bla on minute 8ish :)Great video! Thanks
Cagri replied

How do I remove associated records?
1
Rails
I have these associations.
Course
has_many :assignments, class_name: 'CourseManagement::Assignment'
has_many :students, through: :assignments, source: :student
Assignment:
belongs_to :course, cl...

Stimulus JS controller not working
1
Javascript
I've taken a clone of one of the projects and I'm following the general setup commands. When I'm trying to create a new js controller(stimulus js) or defining any new method in the existing js cont...
Muhammad Taha replied

How do I send Stripe payment invoice only for paid subscribers not trial subscriptions.
0
Rails
Hi, im new to RoR and I have a working system that is sending invoices via email. But I would like to exclude trial subscribers from getting the $0 invoice in their email. Payments being handled wi...
Fungayi Makoni posted