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

Followed the deploy instructions; nginx throwing a 500 for rails app

0
Servers
I'm not sure what happened, but I had a production environment/config working with nginx/passenger deployed on Digital Ocean. I am not seeing errors in log files, but nginx is throwing a 500 when I...
Matt Bjornson posted
Solved

How do I style select options?

2
General
I have options for a select field from 2 sources (this years options and last years options). In the drop down list I would like to distinguish the options between the sources (e.g. this years opti...
William Jones replied
Solved

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

Setting background image from User uploaded asset

6
CSS
Hi, I am trying to set a user uploaded image as the background for their profile but cant seem to get it working. I'm stuck on what way to reference the image in the background css style. I'm usi...
Gerard Donnelly replied
Solved

Flatpickr with "Present" value as well.

4
General
I am currently adding date ranges for jobs in my app. I want the user to pick the start and end dates using flatpickr gem. I also want the user to be able to set the field to "Present" if they are ...
Gerard Donnelly replied
Solved

Screencast Suggestion - ElasticSearch / Datatables (with Search Panes)

3
Site Feedback
Seems to be a natural extention to this Screencast: https://gorails.com/episodes/search-filters-with-elasticsearch-aggregations?autoplay=1 https://datatables.net/blog/2020-01-13
Dan Tappin replied
Solved

Looking for a secure place to store scanned tax forms

2
Rails
I am looking for something like Cloudinary that I can store w-9s that would be filled out by contractors. They get scanned and need to be stored for access at the end of the year. Do you think clou...
Jeff Wolfram replied
Solved

Want to stay up-to-date with Ruby on Rails?

Join 89,237+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.