
Heroku Error - We're sorry, but something went wrong.
2
Rails
Hey Guys,
I deployed my app to Heroku but I am getting the "We're sorry, but something went wrong.
" so I ran heroku logs and this is what I got:
```
2019-11-07T18:45:20.355498+00:00 app[web.1]:...

How do i save a field in a separate table when using devise?
6
Rails
I am using devise for my users, during sign up i have an extra field i want to store in a different table in my Postgres DB. How would i go about storing this extra field?
So a **company** `has_ma...
Solved

Date range option
0
Rails
Can any one tell me how to provide a Date Range option on one of the pages of my project???What changes needed to be done in index file and corresponding controller to show it?
vinit rawat posted

Provide sort option
0
Rails
How can i provide the sorting feature on all the pages of my project dashboard??
vinit rawat posted

How do you charge for building web app projects?
4
Rails
Hey all.. Just needed some advice/suggestions on how to charge for building a web app. Would be great to hear how you (freelancer or agencies) charge for projects? Do you breakdown into front end +...
Solved

Creating a Blog with Images ins Posts
3
Rails
Hey folks,
iam very new to Ruby on Rails but iam trying to improove my skills.
I want to write a little blog application on rails where i should have the ability to create posts. I followed a pret...

gem_group in application template
0
Rails
Is there a a way to use
```
gem_group :development do
...
end
```
```
gem_group :development, :test do
...
end
```
in application template file without duplicating those groups ...
dk posted

How do I setup noticed gem to work with act as tenant gem?
0
Rails
Hello everyone 👋
I'm using act as tenant gem and I want to separate notifications based on that, I am using noticed gem for notification, when I followed Chris Oliver tutorial on YouTube on how t...
ash posted

Rails App production(Droplet DigitalOcean) Assets Issue
0
Rails
Hi,
So i deployed my rails app on the digitalocean droplet, its using webpacker. So when i go to my site, css and js are not working while i get this in the console:
"rails_app/packs/css/applicatio...
SLLAF posted

How do i display devise sign_up page error messages ?
0
Rails
I have a problem that whenever iam trying to sign_up and leave all fields empty i don't get any errors like "password can't be empty"..
but after refreshing the page and resubmit the same data i ge...
sasky621 posted

Eager Loading on Rails 5.1
3
Rails
Hi all,
Seems that the eager loding doen't work in my application. Please let me know whether I need to enable or configure anything. Here is th code for association mappings.
```
cl...
Ratnakar replied

Upgrading to Rails 7
0
Rails
Hi everyone,
I had a rails 6.1 app and thought I'd upgrade it to Rails 7 to enjoy the new features. I thought moving from 6.1 to 7 would be fairly straight forward, as I know there's people upgrad...
Tom Dringer posted

How would one go about sorting ActiveStorage has_many_attached objects?
6
Rails
Hey there,Just wondering if anyone can shed some light here as the Google search is pretty thin right now for ActiveStorage.Is there a way to a a property (say sort_order) to each of the has_many_a...
Tomas Valent replied
Solved

How to troubleshoot esbuild in Rails 7
0
Rails
With the arrival of Rails 7.0, i have tried moving from webpack to esbuild but struggle with it.
I know that theoretically, creating a file jquery.js and importing it in application.js
import jque...
Vorkosigan76 posted

Submit a form from different page
0
Rails
Hi everyone,
Hope everyone is well. I have a Driver form (which is basically the user - I can do current_driver and stuff) and one of the fields is a boolean checkbox for 'subscribe to newsletter'...
Tom Dringer posted

How to change value of data that retrieve without updating database.
0
Rails
I want to change the value of the data I retrieve from the database. For example, when the data I retrieve is negative, I want to convert it to positive. However, the change must not affect the dat...
Lusiana Siahaan posted

ActionText / Trix Editor
0
Rails
I'm working on upgrading an app from Rails 6.1.x to 7.0.1 with esBuild for JS. I am having trouble getting ActionText, in particular the Trix editor toolbar, to work correctly when running in `prod...
Mountaindog posted

What is the best way to import node_modules CSS in a Rails 7 Esbuild project?
0
Rails
Rails 7.0
Ruby 3.0.3
Esbuild / Tailwind
Question: what is the best way to import the CSS from a node package. After running the yarn add command, the JS loads very easily but as you know adding `im...
Stéphane Paquet posted

Pattern for Managing Third Party Integrations
2
Rails
I'm building a small internal app that is essentially glue between several open APIs. Namely, QuickBooks, G Suite, Stripe, and Twilio. Authorizing these third party integrations, maintaining toke...
William Kennedy replied

Having issue with Nested routes and form
0
Rails
I know this is probably simple for most of you folks, but I am trying to work through an area I am weak on in Rails which is forms with nested routes. First here is what I have...
Models
Topic - h...
Mike Chilson posted