Ruby on Rails Community Forum
Pass SQL database data to NoSQl through Mongify
0
Gems / Libraries
I am trying to pass the data from an SQL database to a non-SQl database with mongo DB and for this I use mongify 1.3.2, Ruby 2.7.6.2, Rails 5.2.3 and within gemfile I have
source "http://rubygems....
Arman posted
Grandfathering
5
General
I am experimenting with pricing. Any good tips or procedures to try out grandfathering in old users and apply new pricing to new users?
Daniel Weaver replied
Is possible to add another JS framework (React, Vue) on a application that already has Angular 2 integrated on it?
0
Javascript
Hi, all.
We has an app with Rails 4.2.5 and Angular 2 integrated (we do not use it very much). But we would like to switch to another JS framework: Vue and Reacth are good options.
But will we ha...
Lucas Moraes posted
how to set up rails with postfix
0
Rails
Action Mailer How to setup Rails with postfix send only email
ankhnaton posted
How do I allow the owner of a group add new moderators?
1
Rails
Hi, I am trying to develop similiar functionallity to Shopify where the owner of the store can add new managers to the seller account and allow them to manage orders. However, in my case its just `...
Taylor Cooney replied
How to use Multiple Databases in Rails 6.0 Discussion
0
General
Hi. I am trying to use Rails 6's automatic read/write splitting with the multiple databases feature. There seems to be a problem with Devise, because the automatic connection switching sends writes...
Vito Botta posted
Hey, Guys. How to create the form on cucumber? I have met this error.
0
Rails
undefined method `create' for Task::Form:Class (NoMethodError)
./features/step_definitions/edit_details_steps.rb:3:in `"I am on the edit multiple-choice task details"'
features/task/de...
denissiletsky posted
Rails 6. SyntaxError: missing ) in parenthetical (UJS)
0
Javascript
Hi! I use pagination Pagy gem, and button "More..." (more pages Ajax) not work
index.js.erb
```
var colum = document.querySelector("#categories_index");
var pagin = document.querySelector("#ca...
Nikola Okonesh posted
Sidekiq + Action Mailer
2
Rails
I study Ruby on Rails and I have a one-page simple application that will send emails to people. In the form on the page, a person enters the time and date when he wants to send an email.
deliver_n...
Michael Kogan replied
How can I create a user specfic page?
1
Rails
So I'm kind of struggling with understanding how a system like this could work. What I need to know is how can i create one page and multiple devise gem users, then have this page draw individual i...
Chris Oliver replied
Push changes to Node packages to Heroku
1
Rails
Okay, full disclosure, I upgraded to Rails 6 without fully understanding the consequences of using Actiontext and Webpacker. It's all new to me. So in my folly, I changed some of the Trix css direc...
Dan Donche replied
I am trying to build an application that will display routes on a map
1
Ruby
Hi there,
I am completely new to Ruby, and am trying to understand a way of building an application to display routes on a map, using this API: http://wiki.itsfactory.fi/index.php/Journeys_API.
...
Chris Oliver replied
How to get ngrok working with webpack-dev-server
2
Rails
I run my local dev site on ngrok and the webpack-dev-server spits out errors to the console on a regular basis:
`GET https://localhost:3035/sockjs-node/info?t=1566173800826 net::ERR_CERT_AUTHORITY...
Ghar replied
Rails 6.0 + Heroku + Active Storage + VIPS
7
Servers
VIPS is a 3x faster and 10x less memory hungry image processor that is now available for Active Storage in Rails 6.0. Unfortunately By default Heroku doesn't support VIPS. Do you know of a working ...
Nicolas Brousse replied
accepts_nested_attributes_for with a first_or_initialize
0
General
How do you handle a Model that `accepts_nested_attributes_for` for another Model, where you only want `first_or_initialize` that child model? At the same time, be able delete the relationship betw...
george norris posted
How do I integrate VueRouter into an existing Rails app?
0
General
Hi,
I'm trying to get VueRouter working with an exisiting Rails app and I'd like to delegate the routing to VueRouter when it comes to the VueJS part of the app.
Basically I'd like VueJS to ta...
Qamir Hussain posted
How to protect API againest malicious attack?
5
Rails
Hello 👋
I'm working on an API that is reciving requests from websites (Shopify stores), the request looks like:
```
shopCentralAPI.apiToken = "123"
shopCentralAPI.metafieldCreateUpdate(shopCentral...
Karim Tarek replied
Bundler And PG Error On Deployment
10
Rails
Hi, I followed every step of the deployment but when I get to 'cap production deploy', some errors appear :
```
01 /home/deploy/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.3/lib/bu...
Damian Nelwep replied
How do I temporarily redirect stderr in Ruby on Rails?
2
Rails
Hi, gays. I would like to ask for advice.
I asked this question on [StackOverflow](https://stackoverflow.com/questions/56828359/how-do-i-temporarily-redirect-stderr-in-ruby-on-rails) , but I did no...
Alexey replied
Unable to create the Rails app in WSL
1
Rails
Hey, I am getting these errors while creating the app in WSL. Please help to fix it. Would be very much appreciated.
**Error Images**
https://uploads.disquscdn.com/images/b39eba240df8adcde8fc0b3ae...
Chris Oliver replied