Ruby on Rails Community Forum
Help with Debugging
0
Javascript
Hi all,
I am trying to help out an open source project that I use. I found an issue and the developer has asked me to help debug the javascript but I'm a javascript hack and not sure how to do it.
...
Jim Miller posted
User 'folders' for uploaded files?
0
Rails
Is there any best practice / tutorial for organizing user uploaded files?
In my app I have an 'uploadable' polymorphic structure where the user can upload files to pretty much any model etc.
Curr...
Dan Tappin posted
Server Administration with Cockpit Discussion
6
General
Chris, I get a not secure warning in Chrome when I try to access :9090 in my domain (I deploy with Hatchbox). It's sending the browser a self signed localhost certificate.
Yi Mei Wang replied
Rails 6 - What Javascript/CSS Framework is good for me?
0
General
Dear community,
since I'm not a good javascript programmer and new to Rails 6 (especially webpacker), I'm looking for a good framework for the whole fancy shit (Slider/Datepicker/Autocomplete/..)....
Chris-P-Chicken posted
Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?
0
Javascript
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated.
Here is my Javascript code:...
Lee Terng Gio posted
Making a contacts form page, getting LoadError
0
Rails
Hello. I'm trying to create a contact page that emails me directly from the contact me page of my portfolio site. I created the contact form model by following this tutorial on YouTube. But I'm get...
Kyle Williamson posted
How are lockbox and attr_encrypted different from each other?
0
Gems / Libraries
I'd like to store users' API keys in my database. Lockbox was previously suggested to me, but I just came across attr_encrypted gem and they look like they achieve the same results to me.
I'd like...
Yi Mei Wang posted
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
how to model on rails that a supplier can be a customer and a customer can also be a supplier. ?
2
Rails
Good evening everyone,
Here's my problem:
I have 2 tables, suppliers and customers who are all companies.
how to model on rails that a supplier can be a customer and a customer can also be a sup...
Peter vande Put replied
Any Rails code documentation best practices? Yard vs Rdoc?
0
Rails
Main question:
I've been looking into documenting my own code, and came across Yard and Rdoc. Right now, just trying it out, I have Yard installed. But are there other alternatives out there that I...
Yi Mei Wang posted
How do I have a root route without an action parameter in the URL?
0
Rails
My system is using a post model with friendly_id so the calls are /name_of_the_post and this works great.
The initial home page is also a post so in routes.rb I have
```
root 'home#index'
get ':...
Peter vande Put posted
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
Does it make sense keep using Carrierwave having ActiveStorage?
1
Rails
Hi, I have been thinking about that since a few Days ago. I don't know which is more efficient and how much, and also how easy/hard could be the migration from one to the other. Any experience/insi...
HP replied
Setup Ubuntu 18.04 Bionic Beaver Discussion
0
General
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
Rails, turbolinks and javascript. How to avoid duplicate Switchery button appear?
0
Javascript
I'm implementing Switchery button in my Rails app and Turbolinks is on. When I navigate to another page, and then click the back button, the button is being duplicated.
Here is my Javascript code:...
Lee Terng Gio posted
foreman issues
2
Rails
Added foreman to my Gemfile and when i run bundle install, i get the following error:
Could not find foreman-0.87.0 in any of the sources
Run `bundle install` to install missing gems.
Wole Ikotun replied
Geo-spatial Search with Geocoder and Google Maps Discussion
14
General
Awesome episode! Really enjoying the maps and geolocation episodes!Thanks, Chris!
Amanda replied
How to for Devise user to update password after first login?
0
Rails
Hello, I'm a newbie on Rails.
I use devise for the authentification and i want to force all new users to changer thier default password at the first connexion.
I also want them to update thier pa...
lionnel Patrick posted