Ruby on Rails Community Forum

Rails6 autorization method

1
Rails
I am going to start my new project on rails6. But when i am usign declarative_authorization gem i am facing issues. can you suggest any method for authorization?
Chris Oliver replied
Solved

Active storage, remove record, but not file on Google Storage

0
Rails
Images are stored from one rails app, but records are syncronised to another app via graphql. What is the option for the second app to delete the record from itself without destroying the original ...
Simon Hutchings posted

acts_as_shopping_cart documentation?

0
Gems / Libraries
Hello everyone, I'm trying to build a shopping cart for my new project and i decided to use the acts_as_shopping_cart gem, well didnt really decide to but really the only one i could find without g...
Darren Nickerson posted

Devise Masquerade with multiple Devise User Models

0
Rails
Hi All, Has anyone used devise masquerade before with multiple devise models. I have and Admin model and a User model. I'm having issues and when I try implementing it, I can't seem to login as a...
Stephen Sizer posted

Convert a rails web application to offline or executable

0
Rails
I have tried to use ruby packer and traveling Ruby and others but as I am new to programming it is difficult for me. I'm looking for a programmer to convert a web application to offline or executab...
Felix Pujols posted

Multiple File Uploads with a nice JS interface?

2
General
I am going with an 'Attachment' model which belongs to other models (just one for now). The 'Attachment' model to add other fields and funtionality down the road. Each record has one file uploade...
Dan Tappin replied

How do I build an authentication system with rails + graphql (backend) and rect (front-end)

0
Rails
I want to build an authentication system with rails and graphql
Gonzalo Reyes posted

Rails 6: How do you associate specific stylesheet and external js plugin to a layout

0
General
I am working on Ruby on Rails 6. My application has a controller that uses a different layout called "special": ``` class BoxController < ApplicationController layout "special" ... end ``` ...
Joan Gabun posted

Issue with bootstrap sprockets in application.js

3
Rails
Hello, As said in the title, I get an error message when I try to access my localhost:3000. The message is : ``` Sprockets::FileNotFound in Welcome#index Showing /home/dameaw/work/five/meawini...
Thomas Blumenfeld replied

What is the purpose of node_modules folder in rails 6?

1
Rails
What is the purpose of node_modules folder in rails 6?
Thomas Blumenfeld replied

How do I embed a Rails app into another website?

1
General
Hey! I'm stuck with this - and would love some help. Going to use an example to explain this. Storemapper (https://www.storemapper.com/) was build on Rails. It basically lets you add a store loc...
Chris Oliver replied
Solved

Where is "embeddable javascript widget Part 4"?

2
General
It seems like all parts of "embeddable javascript widget" tutorials are available EXCEPT part 4. https://gorails.com/episodes/embeddable-javascript-widget-part-4 Any idea where to find it?
Chris Oliver replied
Solved

How to solve the [GET] “/login” routing error while building shopify app using ruby on rails?

2
Gems / Libraries
I am getting a Routing error says " no routes matches [GET] "/login" " and also in ruby libraries. During running on a server it displays page not found and the logs for that error is Logs show [GE...
Gaurav Agarwal replied

Rails 6: Separate styles and layout for dashboard and main (front) site

1
Rails
I will try to explain my issue as much as I can. I hope you guys can understand and give me an idea / help me. So I am working on a practice app. There are two separate bootstrap html/css design...
Thomas Blumenfeld replied

Sending Alerts Based on Threshold

0
Rails
I am building an app wherein user can create an alert based on current value of average or sum of table column. For example if SUM of column A is < 100 a notification should be sent to receipie...
Paulo Avelino posted

Do you measure your app's uptime?

2
General
If so, than how do you measure it? Any libraries, tools, services, etc worth investigating?
Peter Marcano replied
Solved

Working with Lists from a Database

1
Rails
Greetings, I am learing Ruby on Rails as I'm migrating a legacy app from PHP. I'm just a beginner in ROR, and having trouble setting up the simplest of relationships. In simplest terms, I have a ...
Brad Morrical replied
Solved

How I do use Rails.ajax in vueJs components using webpacker in rails 6

2
Rails
I have created the brand new application in rails 6 with webpacker and VueJS. I am trying to use the `Rails.ajax` to send ajax request request from Vue component to rails controller. I have include...
Marco Beffa replied

Adding external .js files to a new Rails 6 web app

1
Rails
I have created a new rails 6 app. in rails 6, javascript folder is outside assets. I have copied all the css and js files from an existing application to this new one and application.css,applicatio...
Safwan SM replied
Solved

PG conflict changing the name of an attribute in the database

0
General
Hi everyone, I'm having an issue after changing the name in a "Relationship" Controller and Model (the name is "follow / unfollow" and before was "meaw / unmeaw" (which I endend founding pretty ba...
Damian Nelwep posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.