
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

ActionCable in JumpStart project
1
Rails
Hi!
Is there anything special I need to consider when using ActionCable in a project created with the JumpStart template?
I've followed several tutorials (e.g. ["Action Cable ‘Hello World’ with R...
Chris Oliver replied

"You must use Bundler 2 or greater..." Error
1
Rails
rails -v
`Rails 5.2.3`
ruby -v
`ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]`
bundler -v
`Bundler version 2.0.1`
On creating a new app and trying `rake db:create` i get: `You must use ...
Chris Oliver replied
Solved

Help please! Error starting Rails server
0
Rails
Hey guys. I am new to Rails. I have installed Rails 5.2.3. I have Ruby 2.6.3. Both are confirmed to be operational when running the --version command.
I have tried to create a new rails app calle...
FSirju posted

Display Posts on Homepage
2
Rails
I am building a social app and I want to display the content of the /posts page (index.html.erb) on the homepage if a user is logged in.
The code below works just fine on the /posts page to displ...
MikeLangford replied
Solved

FTP Service for Active Storage
2
Rails
Hi!
I am developing a service for ActiveStorage https://github.com/gordienko/activestorage-ftp with the ability to download and delete files via the FTP protocol, and the display via Nginx. The mo...
Alien replied

switching to another ruby version
2
Rails
hello guys i have issue like this , i download some rails projects from github and run server but in every situation ruby version missed the project was old or not comparable with my ruby vers...
Daniel Gagne replied

How to process form_with using GET request as XHR
0
Rails
I'm working on a Rails 6 app, and want to update page view based on a dropdown value selected using XHR. Dropdown must use **GET** method coz I am calling **index** action.
I am using form_with wh...
Maaz Siddiqui posted