
Model/concerns question
6
Rails
Hi. I am learning ROR on my own (no formal programming trainng) so this may be a question with an obvious answer but i'm stuck and the answer will help me understand how to call concerns. I have ...
Chris Oliver replied

Display non-image attachments with Trix/action_text
0
Rails
I've got the barebones functionality of Trix working ok... The editor displays ok and text and images display as expected. But when I drag and drop a PDF (for example) I can see in the editor a sma...
Nelson Casanova posted

How do i track or list online users with rails?
0
Rails
How can i track or list online users in rails?
3DWaffle posted

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

Hatchbox deployment questions
20
Rails
Im launching my app and using your Hatchbox service to help. I was planning on using digitaloceans managed database and wondering how that works with hatchbox and if I need to change anything in m...
Alex Deering replied

Active Storage and Subdomains
3
Rails
I have a simple app for photos and wanted to make it a subdomain of a domain I own and use. It would be https://photos.com This seems to break active storage however. Has anyone else ran into a sim...
Chris Oliver replied
Solved

How do I send params from Rails Ajax to the controller???
5
Rails
I am trying to send all the params from the form into my controller after a promise
my params include :name , :email , :address_line1, :address_city, :address_state, :address_zipcode, :address_cou...
Chris Oliver replied
Solved

How to set up Email newsletters
0
Rails
So this is less a question on how to set up integration with sendgrid or mailchimp, and more along the lines of how would you go about creating an admin setup to create dynamic newsletters without ...
Alex Deering posted

hit
1
Rails
xx
ff replied
Solved

rails new demo without getting a error message?
1
Rails
I did the basic installtion from a book I'm reading and i get the following error message when i type in the command `rails new demo` in my terminal.
```
Michaels-MacBook-Air:~ michaeljonathanamay...
Michael Amay replied

Any way to reduce complexity passing JSON to Vue.js component?
0
Rails
Hi,
I'm trying to figure out a way to reduce the complexity of passing a JSON to a Vue.js component.
Currently I've got something like this placed on a model scope,
```
scope :to_vue, -> (id)...
Eduard Garcia posted

how can i access boolean value to other controller in rails
0
Rails
i have ProjectSite model and ManagerRemark model related to many to one association. my MangerRemark model remark string field and decision boolean value true and false. i want to access that boole...
anuj posted

How do you figure out what and how to load the css/scss assets with Webpacker
0
Rails
For Bootstrap you added to `application.scss `(I may have named my folder differently:
```
import "bootstrap"
import 'bootstrap/dist/js/bootstrap'
```
and
```
@import '../css/bootstrap_custom';
@i...
Greg S posted

Error installing gem pg on Mac with Postgress.app
0
Rails
The pg gem will not install. Getting:
```
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.3.0/gems/pg-1.1.4/ext
/System/Libra...
John Petit posted

How to save DOM elements in the database?
2
Rails
Hi
I'm working on my very first "real" Rails project, and it might be a bit to advanced for a newbie like me. But here we go (sorry for the long and confusing rumble).
**Goal:** I want to save the...
Magnus von Bromsen replied

Problem in uninstalling rails and Ruby from ubuntu 16.
0
Rails
Is there any way to uninstall rails 6.0.1 from ubuntu 16 and ruby as well because i have installed ruby through rbenv. Please suggest any standard way to uninstall it. i am beginner in rails.
Dilip posted

Model not updated correctly on drag (Apartment + Vue + Rails 6)
0
Rails
**Stack used**: Rails 6
**Gems used**: Apartment, Devise, Vue, vuedraggable, acts_as_list
Hi guys! I'm trying to create a "Trello" type app (following the Vue.js Trello Clone in Rails screencast)...
Alan Dew posted

Use the helper methods that are declared in controller and has default params in view spec ?
1
Rails
Here's the problem:
I have a Controller (say ExampleController) which has a method "sort_column" and it has the following code :
Example.column_names.include?(params[:sort]) ? params[:sort] : 'titl...
Chris Oliver replied

Why doesn't my app show on my browser when running locally?
0
Rails
I'm new to rails and trying to display a very simple app from codecademy which results in this error on my browser:
PagesController#welcome is missing a template for request formats: text/html
NO...
vkuz91 posted

How do I get avatar.variant(size: "") to work using aws on production?
0
Rails
I can't get variant(size: "") to work while using a cloud provider in production.
I need to user.avatar.service_url.split("?").first to get the right path for the img but when I do this, I can't u...
Luis Daniel Fonseca posted