
Generic Infinite Scrolling
3
Rails
I am building an app that has a couple of columns and I only want one column to scroll infinitely. I am trying to hack together a gem free version, but I am a novice with .js or jquery.
My questi...
Gabriel replied

Get Email from DataBase for creating newsletter
2
Rails
I am trying to create a newsletter, Ive followed this instructional video on how to save the information but I am confused on what to do from the end of the video,
https://www.youtube.com/watch?...
Derek Levine replied

How to send checkbox ids to modal pop up using stimulus js?
0
Rails
I have got list of items with checkbox on the left side of each row having id of that particular row. How can I send the ids of items to the modal
using stimulus js so that I can display brief deta...
Animesh Dash posted

Heroku RedisCloud connexions on "Realtime Online User Tracking with ActionCable"
0
Rails
Hi all,
I'm running in a weird issue.
Following the Realtime Online User Tracking with ActionCable screencast, in an app using rails 5.2 I used:
```ruby
ActionCable.server.pubsub.redis_connection_...
Nathan Chalot posted

My first gem
0
Rails
Hi, I have implemented my first open-source gem and I would like to share it with you all.
It's for validating request parameters outside your controller logic: https://github.com/felipefava/requ...
felipe posted

How can I integrate the number of users in a room?
0
Rails
This is very cool tutorial https://gorails.com/episodes/group-chat-part-7. Now I want to integrate the number of users in the room there. How can i do it? Thanks
ilikali posted

Rails Complex Model Association, Shared Document Between Users and Teams of Users
0
Rails
I have a relatively complex model association in mind, and was wondering how I could accomplish it. In essence, this is what i want to accomplish.
- I have a User model, and a Document model
- U...
Ibraheem posted

how i plot a profit_loss graph
0
Rails
i have income,expense, user controller i want to plot a graph of currrent user profit i calculated it in model.
def total_expense
expenses.pluck(:amount).sum
end
def total_incomes
inc...
Ahmedzain posted
Solved

how i plot a profit_loss graph
0
Rails
have income,expense, user controller i want to plot a graph of currrent user profit i calculated it in model.
def total_expense
expenses.pluck(:amount).sum
end
def total_incomes
incomes.pluck(:amo...
Ahmedzain posted

Getting Cookie Overflow in rails application(REDMINE)
0
Rails
ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):
actionpack (4.2.8) lib/action_dispatch/middleware/cookies.rb:529:in `[]='
I am getting this error when hitting re...
Uttam Sapkota posted

How do I store audio files in production?
2
Rails
Hey guys!
I'm working on building a Rails app for a friend of mine - this app will be for her to host episodes of her podcast. I've already decided to use something like [SoundManager](http://www....
Chris Oliver replied
Solved

Rails 6 form_with will not pass resources with Association
2
Rails
I am using Rails 6. I have a form that I need to pass `remote: true` so I get POST to process as JS:
`LOG: MessagesController#create as JS`
Here is what I have tried:
`<%= form_for [@hangou...
Jim Miller replied

Deploy with problems
1
Rails
hello everyone I have installed a ruby and rails application in vps of dreamhost with many problems and I have solved a lot but apparently this is too big or very complex. Just starting with this...
Chris Oliver replied

Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
3
Rails
in your problem for rails server
Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Mayneth replied

Any video or guide how to do multi-image uploads with Shrine using Stimulus?
0
Rails
I'm new to rails and I just realised that activestorage doesn't support CDN's..
I'm trying to figure a way how to do multi-image uploads with Shrine using stimulus but I can't seem to find any gui...
Arthur Truong posted

How do I update a model with has_many :through association in grouped_collection_select
0
Rails
I have the following models:
```
class User < ApplicationRecord
self.table_name = 'user.users'
has_many :user_sources
has_many :sources, through: :user_sources, foreign_key: :source_code
e...
MH posted

How to implement cursor based pagination
0
Rails
Hi! I'm new to RoR. Followed [Chat Series](https://gorails.com/series/realtime-group-chat-with-actioncable) and want to improve it using infinite scroll. When user reaches top of box I want to load...
Daniyar Baitursynov posted

how to process images with carrierwave and delay_job
1
Rails
I am trying to process the versions of the images with carrierware I want to send that process to a queue
Juan Alexander Rodríguez Álvarez replied
Solved

CORS hatchbox.io
0
Rails
I deployed my app with hatchbox.io but cannt update the image and got the error as below:
Access to XMLHttpRequest at 'https://wellicanbucket.s3.ap-southeast-2.amazonaws.com/wacxzy7llqdcamldoaiuei...
THANH .V TRAN posted

How do I properly use the delegate method?
3
Rails
I'm curious how this can be correctly applied to a booking application. If you have a `Reservation` and `Customer` model, does it make sense to store information such as the first name, last name, ...
Chris Oliver replied