Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

Multiple Users with Devise

3
Gems / Libraries
Hello! I'm new here. I'm currently working on an app and I'm trying to wrap my mind around how I want to handle authentication using Devise. I've read the past threads that were sim...
Chris Oliver replied

Deploy with problems

1
Rails
hello everyone I have installed a ruby ​​and rails application in vps of dreamhost with many problems and I have solved a lot but apparently this is too big or very complex. Just starting with this...
Chris Oliver replied

Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.

3
Rails
in your problem for rails server Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
Mayneth replied

[SOLVED] Decrypt S/MIME 'file.xml.p7m' with OpenSSL

7
Ruby
I am trying to implement a decoder for a bunch of files (e-bills with extension .xml.p7m) in my rails application within a specific helper. My goal is to upload the encripted files and read them p...
Chris Oliver replied
Solved

CSS Beginner Need Help

2
CSS
Hi, i am new to CSS and HTML and i have been trying to make the background of my HTML site an image, but it doesnt seem to work and the image does not appear on my HTML after i have refreshed the p...
AfjalKhan replied

Why is application.css working locally but 404 on production server?

5
General
My css works perfect locally, but I get a 404 error for applicaiton.css once deployed. I generated my base app using Jumpstart free version. I confirmed app css is generated on the server in the ...
Chris Oliver replied
Solved

I tried to align this TEXT center.

2
CSS
Okay. So I guess the title gives it away. I’m a real noob when it comes to CSS. Like I’m good with JavaScript and have been working with ReactJS and Angular for a while now. But I just can’t seem t...
serjio replied

Resolving Draftsman incompatibility with Activerecord

1
Gems / Libraries
I installed the draftsman gem on a new install of jumpstart pro but it is conflicting with Activerecord. Is their a workaround? Bundler could not find compatible versions for gem "activere...
Chris Oliver replied
Solved

Any video or guide how to do multi-image uploads with Shrine using Stimulus?

0
Rails
I'm new to rails and I just realised that activestorage doesn't support CDN's.. I'm trying to figure a way how to do multi-image uploads with Shrine using stimulus but I can't ...
Arthur Truong posted

best way generate pptx file in ruby/rails like prawn PDF

0
Ruby
I love prawn PDF for generate pdf file , i need gems like prawn for generate ppt/pptx file in ruby . what I need * Table with some style * multi pages * Add image and add above some text * add s...
TalaatMagdy posted

How do I update a model with has_many :through association in grouped_collection_select

0
Rails
I have the following models: ``` class User < ApplicationRecord self.table_name = 'user.users' has_many :user_sources has_many :sources, through: :user_sources, foreign_key: :sourc...
MH posted

How to implement cursor based pagination

0
Rails
Hi! I'm new to RoR. Followed [Chat Series](https://gorails.com/series/realtime-group-chat-with-actioncable) and want to improve it using infinite scroll. When user reaches top of box I want to ...
Daniyar Baitursynov posted

how to process images with carrierwave and delay_job

1
Rails
I am trying to process the versions of the images with carrierware I want to send that process to a queue
Juan Alexander Rodríguez Álvarez replied
Solved

on click

0
Javascript
Can anybody help me on disabling a icon on clicking a checkbox??
Neena-Relyon posted

How can I display production s3 images in staging?

1
General
I have one s3 bucket for production and one for staging. What I want to be able to do is display production images when on staging (or development), but if I update an image while on staging/develo...
Peter vande Put replied

How do I subscribe action cable receiver to a new stream without resetting the entire channel subscription?

1
General
I have an inbuilt chat service on my application. A signed in user will select another user to start a conversation with them. How can I send stream for this new conversation to the 2 users without...
Nathan Chalot replied

CORS hatchbox.io

0
Rails
I deployed my app with hatchbox.io but cannt update the image and got the error as below: Access to XMLHttpRequest at 'https://wellicanbucket.s3.ap-southeast-2.amazonaws.com/wacxzy7llqdcamldoa...
THANH .V TRAN posted

How do I properly use the delegate method?

3
Rails
I'm curious how this can be correctly applied to a booking application. If you have a `Reservation` and `Customer` model, does it make sense to store information such as the first name, last na...
Chris Oliver replied

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.prof...
Chris Oliver replied
Solved

How do I do this???

0
Tips
Hi, I have a App "myApp" and contains users. than there is an external App "ExtApp". myApp & ExtApp have a partnership. So when one user of myApp want to join ExtApp the ...
MrGrashopper posted

Learning Ruby on Rails? Join our newsletter.

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