Ruby on Rails Community Forum
Cross-platform rich text editing
2
General
I'm building a note-taking Rails 5 app that will be a web app and will also act as a backend for OSX and Windows apps in the future. One of the key features is the rich editing of text - bold, ital...
Nino Rosella replied
Solved
Best way to create a report/spam button?
2
Rails
Just looking for ideas on the best way to create a report or spam button/link on posts and comments. And do you typically have that notification sent to an in program inbox to an admin email, etc....
Ryan Carter replied
Solved
How to read database table in Application.rb
0
Rails
I am adding CORS validation in application.rb filw where domain names are given in Environment variable but I want to keep all domain in database table and validate these domain during CORS valid...
Puneet Gaur posted
Rails mongoid connection to remote cluster
0
Rails
I am trying to make a rails 4 application with mongodb (skipping active record). I created a cluster on https://cloud.mongodb.com, which has three hosts. The cluster is accessible in the Mongo Shel...
sommer bareen posted
Hatch - Deployment - Server monitoring
2
Servers
Hello
I recently switched my Rails deployment to Hatch and have been a happy customer. I would like to check if Hatch provides server monitoring for the nginx/passenger ? I have few more instance...
Sanjay Nair replied
Solved
Hiring Part Time Rails Devs
2
General
Hey guys,
I got a bunch of projects coming through the pipes in the next 6 months, and will need part time Rails help, with a focus on ecommerce. Can anyone who is interested send me through a bri...
Andrew Scott replied
How do I create a virtual balance model in Rails?
10
Rails
This is for a game application I'm creating.
I have a user model, a stock model and a UserStock join table for the previous two models. User was created with devise. I intend to attach a certain ba...
inopinatus replied
Checking for uniqueness
3
Rails
Hi people. I am working on a project that deals with enrollment activities such as generation of subject offerings and such. I have a model called Offering which has a has_many relationship with th...
Ohad Dahan replied
How do I duplicate or move a carrierwave image that's stored on S3?
0
Rails
Media page for controller:
User can upload an image.
User can also create a folder.
I want the user to have the choice to either move or copy the uploaded image into the folder.
I've looked around...
Josh Zandman posted
Bootstrap Modal with Date Picker, what am I doing wrong?
8
Javascript
I have a Rails 5.1 app with bootstrap 4. I have bootstrap-datepicker throughout my application and it works perfectly or at least as expected. However whenever I try to use it within a modal it w...
jaems replied
Solved
Episodes on Chef and Capistrano ?
1
General
Is there any videos on using Chef and Capistrano to deploy and manage our Rails applications ?
Thanks -
jaems replied
How do I design a multi-tenacy Data Model for a ROR Whitelabel App
1
General
Hey Rails community,
I am at a bit of an impasse. I'm new to ROR. I have been working on an ideal for a white label App utilizing metaprogramming. I started to design the data model and have been ...
Jacob Montgomery replied
Move a Legacy App in Production to a local Development Environment
6
Rails
I'm working with a legacy Rails app (Ruby 1.9.2 and Rails 3.2.8). The app only exists in production. There isn't a development environmnt or repo I can use to setup my dev environment. I'm on an OS...
Chris Oliver replied
Solved
Companies / Employees / Products
1
Rails
Hi GoRails friends,
I have a list of products. Products can be created by users. So far so good.
Now, I would like to allow some users to be part of companies (0, 1 or several).
One user (the a...
Casey Provost replied
Using migrations to migrate data from one table into another
0
Rails
I have two models user and account linked with each other as following
```
account.rb
belongs_to :user
user.rb
has_many :accounts
```
I want to move the data from column ```name ``` in ```users`...
Shairyar Baig posted
Error message is displayed One to one relationship with Ruby on Rails
1
Rails
Hi Everone,
i am trying to create one to one relationship with ruby on rails5.
1. I ahve created the Dubject model in the below format
class Subject < ApplicationRecord
has_one :page
...
Jacob Montgomery replied
Install a custom loader with webpacker gem
0
Javascript
I am trying to use a Vue.js based material design framework called [Vuetify](https://vuetifyjs.com/) with Rails 5 and the webpacker gem. The styles for this framework are created with the [Stylus](...
Abhinav Mathur posted
Stripe connect managed accounts
1
Rails
I'm trying to add webhooks to stripe using stripe connect and managed accounts https://stripe.com/docs/connect/webhooks
I'm using the stripe_events plugin and have followed your stripe webhooks vi...
josh edgar replied
Solved
Nested has many through... Or is there a better way?
0
Rails
Hi I have 2 models Tender and Group shown below.
For a Tender you can add Contractors (contractor_details) and you can also add Groups (groups). Groups also contain contractor_details.
This is so...
Stephen Sizer posted
Problem with deletion and recreation of same association
5
Rails
I have a user model created through devise, a stock model (generated through a scaffold) so I can create a stocks database with my own custom prices, and a UserStock model to establish an associati...
Ohad Dahan replied
Solved