
Skip Stripe checkout for user with certain conditions
1
Rails
Any ideas on how one would go about adding [this](https://gorails.com/episodes/referral-program-from-scratch?autoplay=1) to stripe checkout flow? I would like the referree to have a free post inste...
Chris Oliver replied

How can I add third party plugin in rails 6?
0
Rails
My application.html.erb looks like this. I just want to remove all cloudfare(cdnjs) external link from application.html.erb. Instead of that I just want to use it in application.js . Because I dont...
Siva Ganesh posted

Devise on Heroku
0
Rails
Hello, I have been implementing device JWT with rails 6.0 API . I have used this callback to protect from fogery requests, On the applicationController
```
protect_from_forgery unless: -> { requ...
Moses Gathuku posted
Solved

How do construct remember me after login ?
0
Rails
In my login-in form in have a params 'remember me' . How do i read its value in controller . biggest problem i m facing right now.
```
Log In
<%= form_with url: sessions_path...
Minimalstics posted

Markdown with image and aws support
0
Rails
Hi,
I have integrated markdown and active storage in my rails application. Although I am sttruggling to upload markdown images to aws s3.
Any help would be appreciated.
Shabbir
shabbir saifee posted

Thoughts on adding non-standard REST actions to a resource?
4
Rails
I have a `milestone` resouce that can be activated/deactivated as well as completed/reopened.
Rails pushes the standard 7 actions in your controllers: index, new, create, show, edit, update, destr...
Dan LeGrand replied
Solved

Sub-site Authentication? (FAQ / KB / Helpdesk etc.)
12
Rails
Does anyone have a suggestion to integrate your main Devise based Rails app with a secondary related site?
In my example I have a standard Rails app behind authentication with Devise. I want to a...
Dan Tappin replied

Help with service objects
0
Rails
Hey guys in my project i need to refactoring my code. I using service objects but i need to help to send params from services to controller. I have nested_atribbutes and i need to help
Victor Giraldes posted

Seeking Ruby on Rails Developers
0
Rails
I am seeking a Ruby on Rails developer to join a leading e-commerce client on either a permanent or contract basis.
Our client is leading the way with exclusive partnerships and introducing ble...
stephen hamilton posted

How to handle long-running external services?
2
Rails
My Rails app calls a long-running external service which can take over a minute to return a response. I'm calling the service from a Sidekiq job but I don't want to tie up my worker for over a minu...
Daniel Weaver replied

How to use custom jQuery in Rails 6
2
Rails
I've been thinking about this for a couple of days already.
For some reason my semantic-ui jQuery doesn't work.
So here's what I did.
On my webpack/environment.js:
```
const { environment } = r...
Shabbir Ahmed replied

Rails 6 + ActiveAdmin + ActionText
1
Rails
I need to create an app with video + blog content, users, permission etc that includes a CMS to change and rearrange content easily.
Anyone integrated ActionText into ActiveAdmin - what would b...
Chris Oliver replied

How to display checkbox and string fields like this image in a form?
5
Rails
I have a `spectrum` boolean column and a `spectrum_color` string column and I'd like to display the options to user as shown in this image. I'm using Tailwind CSS and the Jumpstart Pro Rails templa...
Daniel Weaver replied
Solved

Any news on the install Rails on Catalina guide?
2
Rails
I have noticed that macOS Catalina moves to ZSH as the default shell, would be cool so get an update on the install rail guide to show this off :)
Alan Reid replied

CSV Upload, Parse and for each record created - show the status
0
Rails
I am working on a project and running into issues on how to accomplish this.
1. I am using Wicked Form steps for better UX. Steps are: a. Upload CSV, b. Confirm Data, c. Finalize/Add to databas...
Aaron Xavier posted

Rails loading time
0
Rails
1. I just installed the a new rails version 6 and using ruby -version ruby 2.6.3-p62. I create a new
2. project 'rails new my_new_app'
3. bundle install
4. rails server

How do I update a page (a row on a table) dynamically?
1
Rails
I have a page which displays all the products in a shop.
Each time a new product is added - two things happen.
1) The user is taken to the products/index page which shows a list of all the produc...
Chris Oliver replied
Solved

Make http POST request that return xml response
1
Rails
I want to make a http POST request that parse XML response and return the value of SessionId field that is inside XML. This is what I tried so far but I want to return SessionId filed that arrives ...
Chris Oliver replied

How do I add minified JS files to the Rails Webpacker
2
Rails
I am trying to add min.js files - and getting an error.
This works while adding a normal .js file:
*- app/javascript/packs/calendar.js*
alert('Calendar loaded')
*-# app/views/calendars/index.ht...
Arjun Rajkumar replied
Solved

Rails6 autorization method
1
Rails
I am going to start my new project on rails6. But when i am usign declarative_authorization gem i am facing issues. can you suggest any method for authorization?
Chris Oliver replied
Solved