Rails Ruby on Rails Forum
Whats the best way to handle subscriptions with a forum?
1
Rails
I'm building a forum and was wondering what's the best way to handle subscriptions?
Chris Oliver replied
Solved
What is the correct way to convert virtual attribute to real one
0
Rails
First of all the logic of my app. The user could have several profiles situationally, such as blogger, advertiser or manager and act with different profile different role. But during public registr...
Yurii Cherniavskyi posted
SSL issue with nginx
0
Rails
Hi everyone, i have followed this tutorial and got stuck https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypti enabled the option to redirect on https. and now when i&#...
Muneeb Ahmad Farooqi posted
Caching Active Storage in the Browser
1
Rails
I am been using Carrier wave to up load images. I upload them then have the ability to create.a cropped version which I show on my web site.The cache nicely on the web pages so they don't need ...
Drew Bragg replied
How to use rails and sortable connected lists
2
Rails
Hello!I'm trying to create sortable connected lists with a single modal. Two lists that I want to move items between and then display. I've successfully followed the video on sortable with ...
Graeme Ellis replied
Solved
How to paginate stateful tabs with Pagy
0
Rails
Pagy is the new kid on the block when it comes to pagination in Ruby on Rails. Here you'll find how easy it is to paginate stateful tabs with it: https://www.imaginarycloud.com/blog/how-to-pagi...
Sandro Cantante posted
dropzonejs plus simple_form
0
Rails
how to upload multiple files with the gem dropzonejs-rails with a form using gem simple_form
django posted
Need some help with an Active Record Query
6
Rails
HiI have these tables:Users which has many:Farms which has many:StoresI want to return stores that belong to a specific user_id.Got this far but Rails is giving me an error.Thanks in advance for an...
Simon P replied
Solved
s3 images not showing up in gmail?
2
Rails
So I'm sending an email using actionmailer which has an image-tag for an image that is stored out in S3. For some reason gmail doesn't display the image. it displays images that...
Jason Ormes replied
Solved
How do we request a new video?
1
Rails
I there a place to vote on ideas, etc?
Chris Oliver replied
ActionCable streaming from a strange channel name
1
Rails
Hello!I'm following your course "Group Chat with ActionCable" and everything works fine, except one thing: When I broadcast to ActionCable.server.broadcast "rooms:#{mes...
ValentinKLN replied
Solved
Form item disappearing when failing nested validations
4
Rails
I have a Rails 5 app, and I'm having a problem with validations using the Cocoon gem with nested, dynamic forms. When a validation on my Book model fails, and my create action renders :new...
Nino Rosella replied
Solved
Set up S3 or DO Spaces for storage, and serve stored images through Cloudfront or other CDN
0
Rails
Hi all, I'm trying to set up a Rails 5.2 app to directly upload images to Digital Ocean Spaces, and to then serve those images using Cloudfront. I'm able to do direct uploads to Spaces usin...
Ken posted
affiliate program
0
Rails
I have been searching the internet for quite some time for a video tutorial of how to make an affiliate program. I'm a beginner with Rails and was wondering if anyone can point me to the ...
LaTasha posted
How do I render a partial on a button click ? (Rails 5)
0
Rails
I want to render a partial of a long form, and pass a variable to it using :locals => { :f => f }Hope you can help me. ThanksHarri
Harribo42 posted
How do I apply a Pundit Policy to Index?
1
Rails
I'd like to have an index page show only the associated (from the parent, location) records, and allow only users that own those records to see the index. I am really struggling with this...
Rich Smith replied
Access local variable in partial
0
Rails
Hi there,I'm working on a budgeting section of a graphic designer web and I created the following model hierarchy:general_budget.rbclass GeneralBudget < ActiveRecord::Base
has_many :budget...
Javier Bonet posted
URGENT! How do I solve the following error?
1
Rails
I am trying to run a test using rspec and I am getting the following error. Please help.ReactOnRails: Set generated_assets_dir to default: public/webpack/developmentrake aborted!NameError: undefine...
Taylor Cooney replied
How do I access an attribute from a background worker (Stripe charge_id)?
1
Rails
I managed to get Stripe working and processing Jobs, where a user must pay a one-time charge in order to create a Job record. After putting the call to `Stripe::Charge.create` in a background ...
Taylor Cooney replied
Simple form survey and dashboard illustration
1
Rails
Hi I'm new to Ruby and Ruby on Rails and are still in my learning phase. I know HTML and CSS from working with wordpress for some years. As a test-app to challenge myself I thought I ...
Chris Oliver replied