Save 36% for Black Friday! Learn more

Rails Ruby on Rails Forum

Stripe integration on Ruby On Rails

5
Rails
Hi Thank you for your great course: i am coding with : https://www.lynda.com/Stripe-API-tutorials/Adding-Stripe-Payments-your-Ruby-Rails-Application/540343-2.html then i got an error as follows:...
Daniel Morales replied

How do I handle this race condition?

4
Rails
I'm using Uploadcare to allow my users to upload files. When the upload completes, Uploadcare returns a file UUID to my page which I use to create an `Upload` record in my DB with a remote AJAX...
Daniel Weaver replied

Multi tenancy for one type of user

7
Rails
Chris Would you ever see a scenerio where you would use a multi tenancy approach for one type of user? For example lets say you have an etsy like example, the vendor would have their own section v...
Austin Klenk replied
Solved

Update a Rails record via API

0
Rails
Hi! I just finished watching Chris' API video and it was awesome! I am able to make GET requests to retrieve data in JSON format. However, I was wondering how could I update the record with a P...
Sillico posted

Sortable Drag and Drop

8
Rails
Hi I am hoping someone can assist. I have gone through the tutorial of Srttable Drag and Drop. https://gorails.com/episodes/sortable-drag-and-drop All is working but once the drop happens I am g...
Clay replied
Solved

How fix this error

0
Rails
mina deploy -----> Creating a temporary build path -----> Loading rbenv -----> Loading rbenv -----> Fetching new git commits -----> Using git branch 'develop' Cloning into &#...
Орест posted

Add View Option to view csv

0
Rails
I have added a button to download the CSV for the parent model. What I want is when a user clicks on Download CSV, user should be asked whether to DOWNLOAD or just VIEW the csv. How can I achieve t...
Navroop Singh Sidhu posted

Why is a GET verb being used?

1
Rails
I have the following error occurring after selecting a link. ActionController::RoutingError (No route matches [GET] "/admins/delete_user"): But the link is constructed as follows: ...
Brent Phillips replied

Use Multiple Checkboxes on a Rails Form

4
Rails
Greetings, I have a bit of a situation that I cannot find any good resources on and its driving me nuts! I have the following setup: Gems: Devise, Rolify Controllers: ProfilesController, UsersC...
Brent Phillips replied

Chartkick Graph Accumulate values

0
Rails
Hi Using Rails, Chartkick and Groupdate I have a graph which shows values. In the view: <%= line_chart @ContractsForChart.group_by_month(:contract_date).sum(:units), xtitle: "Months&...
Simon P posted

problem with dj_remixes

0
Rails
we are developing ruby on rails application Ruby version:- 5.20 Rails:- 2.5.0 Gems we are using dj_remixes (0.2.4) delayed_job (4.1.5) delayed_job_active_record (4.1.3) we are using dj_remi...
vinod seth posted

root pages#home or root index#post ?

0
Rails
Hello everyone :) **Thank you for these tutorials!** I am a beginner on Ruby on Rails and I have a small question. I am currently creating an application allowing me to list my posts with an upv...
Clyde posted

Using date_select only save the month into my DB

0
Rails
Hi I have this code which shows a dropdownlist on the page showing just the month in words, e.g. December. ``` <%= form.label :movement_month %> <%= form.date_select :movement_mont...
Simon P posted

Method returns true in a rails app controller, but returns false in resque worker when File.exists?

1
Rails
I want to pass the path this to a resque worker which will act upon this file. This worker is unable to find this file and the File.exists? Return a false even though the same method returns true i...
sailaja replied

Need a Best CMS for Rails App Landing page

2
Rails
Hello Guys, I am trying to have a CMS in my rails app that should be very easy to implement and very flexible so that site users can do messing with the content/styling of different pages. I did s...
will replied

Notify users PDF creation is ready and can be downloaded

2
Rails
Users can create a PDF in my app which takes some time to generate, so it has to be done in a background job. No problem, but then there is a delay and the user must be notified that the PDF is rea...
John van Arkelen replied

How to I migrate from Refile to ActiveStorage?

0
Rails
Hello there, any idea how to migrate a running project using Refile to the new rails's Active Storage? Anyone knows any tutorial/guide about how to do that?Thanks,Patrick
Alisson Patrick posted

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...
Sean M replied

Showing Full Country Name in Global Autocomplete

0
Rails
How can I fetch a full country name in the search.json.jbuilder. I am using the Country_select gem and autocomplete results is showing only a country short code like GB for United Kingdom.Here is m...
Charlie Kay posted

Guidance how to structure models for site credits / user balances

2
Rails
Dear GoRails-Community,Super happy to finally have joined! Thanks Chris for building the site and community. Really love that it allows to discuss approaches which always gets downvoted on SO :)I&#...
Dolf replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.