Ruby on Rails Community Forum
How do I find the next and previous lesson?
1
General
I am currently building an LMS and am looking to add in the ability for the user to navigate to the next lesson.
In the admin back end when a teacher adds a lesson they are able to give it a posit...
Chris Oliver replied
Solved
How do I handle rails flash message with Vue.js submit method?
0
Javascript
Hi there!
I watched this video about nested forms with Vue.js. https://gorails.com/episodes/using-vuejs-for-nested-forms-part-2?autoplay=1
How do I handle rails flash messages after Vue.js submit...
Pedro Costa posted
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 cal...
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
Affiliate & Referrals Programs with Stripe & Rewardful Discussion
7
General
I was going to ask You about this! Good video. Still have a few questions:
1) Rewardful says something like "connect your Stripe account and we manage everything". That sounds like they get too muc...
Ghar replied
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 PATCH...
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 '.'...
don...
Орест 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:
<%= li...
Brent Phillips replied
API low-level caching
2
Ruby
Hey Chris,
I am a bit confused regarding API caching. I am using JSONAPI spec and fast_jsonapi gem and trying to cache the vehicle itself on show action and if there are params coming over like `i...
Alexey 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", yti...
Simon P posted
Why Wistia?
5
Javascript
Hi guys!
I'm looking to build an app which will rely heavily on users uploading videos and then playing them within the app.
I know Chris uses Wistia but it's pretty pricey, expecially .25c per v...
Daniel Weaver replied
Question on polymorphic comments tutorial
0
Ruby
got through the whole thing and went to add a comment and i get routing error with the pattern of "films/1/comments". What did i do wrong?
Jimmy Sander posted
Considering hatchbox.io. Is this a one-person operation? What happens if subscription is not renewed?
1
General
Considering hatchbox.io + DO over heroku.
If we are to start a business, we'd hope that the platform we are using is reliable and resilient.
I am wondering, is this a one-person small business? I...
Chris Oliver replied
Exposing API when uploading image with ActiveStorage in Rails 5.2
1
General
I'm trying to expose my API, but I'm having a hard time exposing an image that I uploaded using ActiveStorage. This is the current out put from the console when running `Recipe.last.image`:
```
...
Lauro replied
Solved
Direct Uploads with ActiveStorage - DO Spaces
0
General
I managed to up upload images to Digital Ocean's Spaces following the episode on [Direct Uploads with ActiveStorage](https://gorails.com/episodes/direct-uploads-with-rails-active-storage?autoplay=1...
Lauro posted
Solved
Looking for Senior Software Engineer experienced in Ruby!
0
Ruby
Hi all,
I'm looking for a Senior Software Engineer to work full time either in Edinburgh or remotely in the UK to work for a leading cloud based accounting platform with over 65,000 users.
Must h...
Eleanor Turner posted