
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

Did I forget to do a migration?
1
Rails
I have a profile model and controller in Rails, and it works all well and good except when I call profile_path or simply "profile". I try and create:
```
<%= link_to current_user.profile_path %...
Chris Oliver replied
Solved

Displaying User presence when tracking online Users with ActionCable
2
Rails
Hi,
I'm wondering on my current implementation for tracking and displaying user online presence.
I followed "Realtime Online User Tracking with ActionCable" for the most part and right now I'm usi...
Chris Oliver replied
Solved

getting KeyError: key not found: :keychain when running cap staging deploy
0
Rails
success Saved lockfile.
01
01
01 Done in 10.26s.
✔ 01 ubuntu@13.229.169.23 10.938s
** Execute deploy:assets:precompile
01:06 deploy:assets:precompile
01 ~/.rvm/bin/r...
Rahul Coder posted

jquery_ujs and rails-ujs problem ajax page
1
Rails
hello everyone.
i am new in rails and ruby , i just started like 1 week ago .
i trying to do a chat between 2 people on rails, with jquery for the ajax part.
everything work, but i got this err...
pikooli replied
Solved

Facing Authentication error
1
Rails
Hi ,
I am facing the unauthorised error in rails even after i am using the correct username and password database i used is postgres and devise is used for the authentication mechanism.
varun chawla replied

Flash alert/notification messages not displaying for the 'Log In' and 'Log Out' views
1
Rails
The flash alert/notification for the 'Log In' and 'Log Out' views are not displayed on the screen when a user logs in or out of the Rails application.
I am not getting any errrors or warnings in ...
Alfred Montalvo Jr replied
Solved

Active Admin Authorization by CanCan gem when User and ActiveAdmin have same model
0
Rails
I already had a User model with different roles handled by cancan gem. Now i have implemented active admin gem in the same User model with another role. Now i could not figure out how to restrict a...
Shaheryar Imtiaz posted

Rails has_one, belongs_to, join_table and nested form
0
Rails
I'm creating a User, Role and UserRole. A user can create a list of roles, and from the new user form, there is a nested form which populate a list of roles created, then the user able to select a ...
Lee Terng Gio posted

User 'folders' for uploaded files?
0
Rails
Is there any best practice / tutorial for organizing user uploaded files?
In my app I have an 'uploadable' polymorphic structure where the user can upload files to pretty much any model etc.
Curr...
Dan Tappin posted