
Action text rails 6
0
Rails
Hi Chris,
i cannot upload the images from rich text drag and drop to s3 from dev.
my development .rb
`config.active_storage.service = :amazon`
my storage.yml
```
local:
service: Disk
root: ...
Pratima Singh posted

Token Authentication with Rails, Vue, GraphQL and Devise
0
Rails
Check out [this article](https://engineering.doximity.com/articles/token-authentication-with-rails-vue-graphql-and-devise) on auth using Vue + GraphQL and the battle tested Devise gem. All feedback...
James Klein posted

How to export the entire active records to a csv file where each sheet is a active record
0
Rails
Is there a way to achieve exporting the entire active records in a rails application to csv where each relation is a sheet of csv or there is another way to export full db data.Any suggestions?
Abhishek Aravindan posted

2 rails apps , 1 database
0
Rails
Hi fellas,
I have a project to do where 2 apps share one database!
**1.** The first one (app1) is a basic blogging application that lets a user register and then write posts. Each user can write, r...
AgonIdrizi posted

How to run serial (multi-step) background jobs?
0
Rails
After a user submits a URL via a form I need to run a handful of jobs in series
What would be a good way to do this?
1. User submits URL
2. Use the URL to build file paths
3. Download file 1 fro...
Daniel Weaver posted

Using active_record_store instead of cookie_store
0
Rails
I am using
intializers/session_store.rb
`MyApp::Application.config.session_store :cookie_store, key: '_myapp_session'`
config/application.rb
`config.middleware.insert_before "ActionDispatch::Ses...
Amit Mallick posted

How to Build a Forum with Jumpstart Pro
3
Rails
Hey Guys,
I'm following along with the How to Build a Forum with Jumpstart Pro video (https://www.youtube.com/watch?v=ZSom4V-nYxA&t=903s) and I am running into the error "The action 'create' ...
Rob Thomas replied

Should I rewrite my app?
3
Rails
Before you shout "NO!!" hear me out. I think this may be one of the those cases where a rewrite is reasonable.
Our current application:
* is 6 years old
* is currently on Rails 3.2.14 and Ruby 2.0...
Daniel Weaver replied

how do i create two users at the the same time with two different session? P.S I am trying to create a game where two players are created at once being of same class(Player)
0
Rails
I am trying to create a game where two players are created at once being of same class(Player).
sameer posted

Aparment switch in multiple database rails application
0
Rails
I have two rails application "base1" and "base2". base1 uses db1 and have multiple tenants inside this database. "base1" is multitenant application using apartment gem. "base2" is single tenant app...
Abhishek Aravindan posted

Is it possible to make multiple belongs_to or has_one association?
0
Rails
I have a table Operations with two columns referenced to Accounts. One column is called **debit_id** and other **credit_id**. Model looks like
```
belongs_to :debit, class_name: :Account, opt...
Kolbasoid posted

Is it possible to remove formatting tools from the ActionText Trix editor?
2
Rails
I looked at both the ActionText and Trix documentation and could not find anything on how to disable/remove formatting tools and disable file uploads for ActionText.
For the project I am working o...
Adam Stockland replied

Bootstrap-Sass Not working Entirely
1
Rails
I can tell that bootstrap is working but my navbar is not styled at all. I've tried several things to no avail. Any help would be greatly appreciated. This would be a huge milestone for me if I cou...
Jeremy Hill replied
Solved

Issues Deploying Rails App
5
Rails
Hi there,
I'd like to deploy my app and I followed a long tutorial (not the GoRails one badly :( ) but I managed to put it on the server and running with Capistrano. DB is postgre and OS is Debian...
jundalisay replied

ActiveRecord/Routing madness
0
Rails
I'm not sure whats happening here, I feel like I've done this successfully in the past but for some reason my app is crashing all over.
This is quite simple. Ive got a model `Employees` and it has...
Solved

Add dump.rdb to .gitignore?
0
Rails
I just bootstrapped a Rails app with the basic Jumpstart template (amazing work! 🙌) and I see a `dump.rdb` file was generated in the app root directory.
I assume this is from the runnign Redis ins...
Daniel Weaver posted

Would you transcode video in your Rails app or with an external service?
1
Rails
I'm building an app that takes file uploads from a user and creates videos from them. I have the simplest-possible MVP runnign for it right now with a plain HTML form sending the contents to a serv...
Daniel Weaver replied

How should I deal with lots of images?
4
Rails
I have a Rails app that lets users select an invoice from a list of invoices. When selected a view of the image of the invoice is displayed with an image of the customer signature overlayed on top....
William Jones replied
Solved

Thoughts on Rails 6, is it ready for production?
2
Rails
Hey all,
So i thought i would pose the question and get other users views on Rails 6. So we are still on RC1, its been like this for a while now. I am curious to know others views, and experiences...
Alan Reid replied

Building complex multi-page forms. Build from scratch? Gems?
1
Rails
I want to make a "new application" feature that will require several pages, form validation on each page before progressing to the next, and routing users to different pages depending on which opti...
Chris Oliver replied