
How to split devise edit form in rails app?
8
Rails
I’m trying to split my rails devise edit form into 3 pages. But when I hit the submit button nothing happens and nothing gets saved.
Any help would be much appreciated :-)
I have created 3 edit pa...
Kasper Valentin replied
Solved

What's the best way to implement Web Push Notification with Rails API?
3
Rails
I have been looking on how I'm going to add a feature of Web Push Notification on our School Project currently and found some services like Twilio, Pushbots and OneSignal. Though even trying those ...
Chris Oliver replied
Solved

Testing Controllers that call an activejob
4
Rails
Hi,
My integration tests hit a create method in my API that calls an activejob. This works fine in the actual app, but when I run any tests I get:
`NameError: uninitialized constant Api::V1::Con...
Paul C replied
Solved

Rails 6: A web app and an API server.
0
Rails
Can a Rails 6 app be built to both be a performant app with views and serve out data via an api? I've been looking for a tutorial, post, google term on this and have had no luck. Pointers and advis...
Bob Walsh posted

Which is the best place to put a custom validator class ?
1
Rails
For a custom validator like in https://guides.rubyonrails.org/active_record_validations.html#custom-validators
Maybe `app/validators` ?
Maybe `app/models` ?
Some other place?
Chris Oliver replied

How I connect the rails 6 application to the angular latest version
0
Rails
Hi guys,
i am jaypal kadam, i have trying from week to connect angular 9 with rails 6 but i cnat ablee to do that , please anyone help me
Jaypal Ramkishan kadam posted

Can I use the has_many :through association to link tables, with more than 3 tables involved?
0
Rails
Hi all! Hope you dont mind a newbie question...
I need to categorize questions to several levels:
Subject
Book
Chapter
Section
Subsection
Minisection
Question
So Subject has many Books , Books h...
Dave Castellano posted

How to display and order model result with Ahoy::Event?
0
Rails
hi all,
I’m stuck with Gem Ahoy.
In my rails app, i have a Room model, each Room has many subject.
After installing Ahoy, i succeed to display the Ahoy::Event result (=number of views) for each...
Basile Marquefave posted

monitoring rails performance
0
Rails
Hello everybody,
I want to share my gem https://github.com/igorkasyanchuk/rails_performance to monitor performance of Rails applications.
It's similar to NewRelic or Datadog, but it's not sending ...
Igor Kasyanchuk posted

Phusion Passenger error on Hatchbox
5
Rails
Hello,
I have just deployed my app successfully on Hatchbox. Its works perfectly but when I try to access a page via activeadmin, I get this error and I definitely don't understand it nor what do....
Houssein abil replied
Solved

How do I resolve this syntax error
2
Rails
Hi guys,
I have this error and I don't understand what the error is. I'm using Rails 6
syntax error, unexpected tLABEL
stripe_id: customer.id,
^~~~~~~~~~
/vagrant/Rails/stripe-test/ap...
Jim Miller replied

Cloned my project from Git and now have an Error accessing credentials.yml.enc
4
Rails
Hi all,
I cloned my project to my laptop but when I try to access credentials.yml.enc with rails credentials:edit, I get this error:
***Couldn't decrypt config/credentials.yml.enc. Perhaps you pa...
Jim Miller replied

PAGY with Rails API Only
2
Rails
Hi All,
I've built a Rails API and have a separate Nuxt/Vue app for my front end. Looking to add server side pagination with Pagy and was wondering how i best to call the next 'X' number of result...
Tim Dowling replied

Is there a service to handle inbound emails?
0
Rails
Hi community :),
I coded an application manager where I can save all details about an applicant.
But very often I get applications via email. I want to handle inbound emails. When someone sends me...
HannesMatthias posted

How do I add a new input to a form using AJAX
0
Rails
Hello!
I'm trying to replace a Flatpickr input in a form using AJAX.
I have to do this because Flatpickr does not currently support dynamic update of its attributes
I can't find a way to pass the...
Romain posted

Heroku deployment failing
0
Rails
I am trying to deploy this app to heroku. i get this error with the precompiling asset pipeline. I tried removing jquery from my Gem file but the error persists. log:
...
remote: Installing...
Hassanelashram posted

How long will Rails 5 be supported?
1
Rails
I'm sorry if this is the wrong place for this question, but I wasn't sure where else to ask. Is there a timeline for how long Rails 5 will be supported?
Chris Oliver replied

Capistrano, puma staging env keeps using production secrets
1
Rails
Question:
When we run `bundler exec cap staging deploy` the application is still trying to pulling secrets for Production and not Staging. How can we debug this process to find why the application...
Chris Oliver replied

How do I handle the validation of associated objects?
0
Rails
I have a blog applications, in which user has_many blogs, blog has_many notes written by the user. And we have a note_relations(mapped to NoteRelation) table to keep the relation of two notes, if t...
jwjwy posted

Suddenly all JS Files concatinated in development
0
Rails
Hi all,
I encounter a strange problem in my Rails 5 project. Suddenly all JS-Files are concatinated (but not minified) to one debug-application-xxxxx file.
Before when worling in development enviro...
Andreas Ulrich posted