Ruby on Rails Community Forum
Using symbols is Thread Safe in Rails ?
0
Rails
Hi,
I read a good article about Thread Safe in Rails. Here is the [link](https://bearmetal.eu/theden/how-do-i-know-whether-my-rails-app-is-thread-safe-or-not/).
One thing that I cou...
Pardha posted
Two-factor Authentication
2
Rails
Hi Chris,
please assist with creating a Two-factor Authentication like the one you have on hatch
Thanks
Felender Hlungwani replied
Solved
Order confirmation page in rails
1
Rails
I've been trying to create an order confirmation page for my rails app, and am not quite sure how to go about it in a restful way.
There were a few answers on this question that got me halfway the...
Jacob Montgomery replied
Carrierwave file extension issue
4
Gems / Libraries
Carrierwave is converting and uploading image files with proper extensions to S3, but storing all in db as .png extension when accessing the `.url` method for versions.
The file name and secure to...
Chris Oliver replied
Passing name objects to Stripe
1
Rails
Hi Chris
A few months ago I purchased the Stripe master class https://courses.gorails.com/payments-with-stripe-and-rails-master-class - awsome - learned a lot!! I could ask this question on Stack...
Chris Oliver replied
Hatchbox.io redirecting subdomains to https
1
Servers
I tried out hatchbox.io's SSL encrypt for a new domain. And it's rerouting my `http://something.example.com` to the `https://something.example.com`. Any way I can keep it from redirecting it to the...
Anand Padia replied
Solved
SSL_connect returned=1 errno=0 state=error: certificate verify failed
0
General
I am new to Ruby on Rails I have followed this tutorial:https://www.crondose.com/2016/12/guide-integrating-omniauth-rails-5-facebook-login-feature/
It lets me reach the login and even accept the c...
Brandon Morales posted
How to prevent users from view other user profile or data ?
1
Rails
I have created 2 users (using devise gem) and added data in both the profiles, but both users can see each others data and profiles. How to stop users to access or see other users profiles
Jacob Montgomery replied
Help configuring Vuetify/stylus on Webpacker
1
Gems / Libraries
Hi, does anyone know how to configure Vuetify with a rails app?
I have webpacker working for basic a vue.js/rails app but I would like to configure it so stylus files compile to css so I can use Vu...
davidlbean replied
caller
7
Ruby
I have trouble solving the following excercise, i was wondering if there is any way in ruby where i can get which method called which i think caller but i havent figured out yet
```
require_relat...
roberto santelices replied
What type of association should I choose...I'm lost in the woods.
1
Rails
I cannot for the life of me figure out the best model association to choose and I've thought myself into a corner. I'm building a site for a client that offers party services for four(4) locations...
eminkel replied
How do I Update a child object, while Creating a Parent object with Fields_for
0
Rails
I currently am creating an object with jQuery file upload, and than inserting a fields_for into the form with the new object.
However, I am unable to update the existing object while creating the...
Logan Houston posted
Gravatar blocked in China, need a workaround
1
General
Gravatar is blocked in China where we have a ton of users. Which means if you pull gravatar from their site in your app, your website will crash/not load for anyone based in China.
So I have two o...
Leonid Medovyy replied
How do I route to the proper controller from the Bootstrap navbar?
1
Rails
Dear All,
My name is Rodolphe, I am a new member of Go Rails. I've fell I love with Rails a year ago! but gosh I so struggle sometimes to comprehend what I'm doing :( . Anyway here is my question...
eminkel replied
What is wrong with my stripe configuration?
6
Gems / Libraries
Stripe isn't working anymore. When trying to create a new charge returns
`the server responded with status 401`
I followed stripes checkout docs to set up stripe. [Stripe checkout](http://stripe...
Zanger02 replied
Display collection_check_box for Has_and_belongs_to_many association
1
Rails
Hi, I want to display a list of check boxes, below is my code,
```
<%= f.collection_check_boxes :job_ids, @current_user.jobs.all, :id, :job_name do |b| %>
<%= b.ch...
Jacob Montgomery replied
How do I take advantage of multiple CPUs on a DigitalOcean droplets?
6
Servers
Hello 👋
I've a two Rails apps hosted on a droplet that has multiple CPUs.
Honstly I don't know what does that mean for the app and if I need to do any thing to take advantage of that or does Rail...
jaems replied
update a model attribute with ujs
0
Javascript
i have a page that displays games(model) with a select box for the game result outcome. Game model `has_one :result, autosave: true` and
I have a unique id for each row in the table based on the g...
Joel posted
Allow lvh.me with my ISP router
12
General
Hi, so I got a new ISP and when I try to use the lvh.me I get lvh.me’s server DNS address could not be found. I have no Idea what to setup in the ISP router to let the lvh.me use the correct IP 127...
Francisco Quinones replied
Solved
How do I rename a field on a model without running migrations or altering the database?
4
Rails
Hi
I have a rails app that sits over an existing SQL Server database that I have no control over. Purely read only access to.
I have a model like Customer with fields like CustomerCode, CustomerN...
Jacob Montgomery replied
Solved