Did I forget to do a migration?

1
Rails
I have a profile model and controller in Rails, and it works all well and good except when I call profile_path or simply "profile". I try and create: ``` <%= link_to current_user.profile_path %...
Chris Oliver replied
Solved

Displaying User presence when tracking online Users with ActionCable

2
Rails
Hi, I'm wondering on my current implementation for tracking and displaying user online presence. I followed "Realtime Online User Tracking with ActionCable" for the most part and right now I'm usi...
Chris Oliver replied
Solved

jquery_ujs and rails-ujs problem ajax page

1
Rails
hello everyone. i am new in rails and ruby , i just started like 1 week ago . i trying to do a chat between 2 people on rails, with jquery for the ajax part. everything work, but i got this err...
pikooli replied
Solved

Flash alert/notification messages not displaying for the 'Log In' and 'Log Out' views

1
Rails
The flash alert/notification for the 'Log In' and 'Log Out' views are not displayed on the screen when a user logs in or out of the Rails application. I am not getting any errrors or warnings in ...
Alfred Montalvo Jr replied
Solved

Working with action cable and remote redis server on development

1
Rails
I'm working on a rails app which uses action cable to notify users on the frontend when an event gets triggered. I'm using a remote redis instance to work with action cable. So this is my dev env ...
Shreyas S replied
Solved

Devise is driving me crazy

1
Gems / Libraries
Hi Guys, Please can someone help me. I have set up sendGrid with devise. I have followed numerous tutorials and done everything correct but after a user signs up the log file site with the followi...
Gerard Donnelly replied
Solved

Having Problems with has_one association driving me crazy

1
Rails
Im having a problem I have an Entry which can have many Detail through EntryDetail https://gist.github.com/staycreativedesign/568f07938591d2a8a844d3857c4aac4a The EntryDetails arent being saved ...
PDG+creative replied
Solved

Was wondering if there is a tutorial on how to setup background job server in Ubuntu with Rails

1
Rails
Is this available somewhere?
Chris Oliver replied
Solved

Prawn disposition: "inline" not working

1
Gems / Libraries
I have been following the Railscast video #153 PDFs with prawn. I want the PDF to display inline instead of down loading it, the following is my code; def show respond_to do |format| f...
William Jones replied
Solved

Why am I getting a concurrent-ruby gem conflict when using the rails new command?

1
Ruby
I have created many rails projects to date without any problems. However when I tried to create a new project today using the command 'rails new pallet_tracker' I get the following error, /home/bi...
William Jones replied
Solved

How to convert each pdf pages to an image and display a thumbnail?

0
Gems / Libraries
Hi everyone, I am new to rails and would like to ask how to create pdf thumbnails on each pages and/or convert each pages to an image and generate a thumbnail. Thank you.
Harris Mariano posted
Solved

How to convert each pdf pages to an image and display a thumbnail?

0
Ruby
Hi everyone, I am new to rails and would like to ask how to create pdf thumbnails on each pages and/or convert each pages to an image and generate a thumbnail. Thank you.
Harris Mariano posted
Solved

Is it a good practice to call third party api before every controller action?

4
Rails
Is it a good practice if we can call a REST api on `before_action` hook of `application_controller.rb` and store the response in helper method? My Scenario is that I wanna call an API from another...
Ali Ahmed replied
Solved

How to make rails associations work

1
Rails
I have this set up, but noting gets saved to the db when I try to save a practitioner. The tables are users, clinics and practitioners. The user should be able to create multiple clinics and each c...
Kasper Valentin replied
Solved

How do I sort fields for and include a new fields for entry?

1
Rails
Sorry for the confusing question, I couldn't think of a better way to phrase it. I have a 'Prospect' model that accepts nested attributes for 'prospect_calls'. When editing the prospect I need to...
William Jones replied
Solved

How to Set Up a Stripe Scheduled Subscription with an option for Deposit but with only X months to Pay the Balance?

6
Rails
I am creating a Stripe product that gives the buyer an option to put a deposit down then they are given x amount of months to pay. Or they can pay in full. I'm sure that I would use scheduled subsc...
Jim Miller replied
Solved

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

Ruby get GET request data

1
General
I'm making API endpoints and I'm having trouble getting the body of the request. Here is what I have: In my routes I have set up an endpoint in my namespace: ``` namespace :api, :defaults => {...
Chris Oliver replied
Solved