How to fix undefined method `<' for nil:NilClass in the view when cancelling kaminari scopes by invoking @delivery_requests = @delivery_requests.except(:limit, :offset)
0
Gems / Libraries
indeed, when I try to cancel pagination on @delivery_requests by doing this: **"@delivery_requests = @ delivery_requests.except (:limit, :offset)"**, I get the following error:
**undefined method `...
Cannot Reset Devise Password
1
Gems / Libraries
I am currently using devise, pretty much straight out of the box, the only changes i've made is custom views.
The problem I am having is that I cannot reset a user's password. I follow the link ge...
Dylan replied
Solved
Searchick filter with scope
11
Gems / Libraries
Has anybody used searchkick with a scoped model?
I have an `Article` model with `scope :published, ->{ where(status: "Published") }`.
So In my `ArticleController` I did the following:
```
quer...
Owen replied
Solved
How to handle flash messages with TurboJS?
2
Gems / Libraries
When using turbo-frame to switch from showing a partial of model to showing the form of model, how do I handle flash messages?
The failed state - for failed validation - is pretty straight forward...
Johan André replied
Noticed Gem - Twilio is not working
2
Gems / Libraries
Using jumpstartpro. Setup the credentials and verified that they are correct. All other delivery methods work, but I am getting this error for Twilio
`
Error performing Noticed::DeliveryMethods::T...
Aaron Xavier replied
Is Something Wrong With Jumpstart?
11
Gems / Libraries
I've tried to install Jumpstart three times in the last two days and each time all the gems get installed but none of the views or anything else does. When I boot the server it just shows the norma...
Tim replied
Error while cloning data from github using Rugged.
0
Gems / Libraries
Hi, I am using RUGGED gem to clone data from GITHUB , in my RoR app, which i have set up on my local machine. But i am getting an error "UNSUPPORTED URL PROTOCL" on "clone_at" function.
Need Help !!!
Muhammad Muazzam posted
Setup noticed to send emails through a mailer?
2
Gems / Libraries
Hi Chris,
Sorry, I didn't "notice" (a lot to unpack here about my notice abilities) that you had a dedicated section for questions:
I was wondering how you configure your Noticed gem to work with...
Solved
Suggested alternative WYSIWYG editors that integrate easily with Rails 6 / ActiveStorage
2
Gems / Libraries
Testing out Trix and it seems to be very lacking in features:
- Can't set image size via css.
- No layout functionality
- Can't wrap text around images
- No image alt text
- Only h1 header!
- No f...
RS replied
Video explaining notifications-rails
0
Gems / Libraries
Hey Chris,
I was wondering if you could do a video on the gem 'notifications-rails'? I like their approach, as it's broken down into 4 main components: NotificationHandler, NotificationRenderer, N...
snake117 posted
Cannot add jQuery to Rails 6 projects
0
Gems / Libraries
I've been trying to make a few apps work with Fomantic UI and the gem works fine, the problem is that to use calendars and modals you need jquery... No probs, I added that by following [this](https...
Nelson Casanova posted
simple_discussion https: ?
1
Gems / Libraries
Hi Chris,
Thank you for publishing the simple_discussions gem. It was exactly what I need for a project I am doing!
I just deployed a barebones start to this project to AWS Elastic Beanstalk. I se...
Christopher Andersson replied
Stimulus Reflex error
0
Gems / Libraries
I am getting the an error when following the 'Introduction To Stimulus Reflex video'. What would cause this and what are possible solutions?
Uncaught Error: Cannot find module './application_contr...
William Jones posted
Video request: using message_bus gem
2
Gems / Libraries
Message_bus is a really nice gem by Sam Saffron that powers Discourse and thousands of other sites; it offers a server-to-server channel based notification system (so, as far as I understand, your ...
Ryan Chin replied
Jekyll as a support page?
2
Gems / Libraries
Can you use Jekyll (https://github.com/jekyll/jekyll) as a embedded help page?
From the showcase section this is pretty much what I am looking for:
https://dev.twitch.tv/docs/ (says built with Je...
Dan Tappin replied
Is there a acts_as_taggable gem that works on Rails 6?
1
Gems / Libraries
The acts_as_taggable gem only supports upto rails 5.
Appologies if this is a stupid question.
Thanks,
Gerard
Chris Oliver replied
How do I have a Vue.js navbar stay on the page between page navigations?
0
Gems / Libraries
I built a lovely Navbar in Tailwind CSS in my rails app following a tutorial by Adam Wathan which uses Vue.js for the javascript behavior on dropdowns.
I added Vue.js the way Chris suggests here,...
James Devereux posted
Multiple Users with Devise
3
Gems / Libraries
Hello! I'm new here. I'm currently working on an app and I'm trying to wrap my mind around how I want to handle authentication using Devise. I've read the past threads that were similar to my situa...
Chris Oliver replied
Resolving Draftsman incompatibility with Activerecord
1
Gems / Libraries
I installed the draftsman gem on a new install of jumpstart pro but it is conflicting with Activerecord.
Is their a workaround?
Bundler could not find compatible versions for gem "activerecord"...
Chris Oliver replied
Solved
Delete images from Digital Ocean Spaces uploaded with ActiveStorage
0
Gems / Libraries
Hey guys!
Using:
Rails 6.0.2.1
Ruby: 2.7.0p0
Digital OceanSpaces
Active Storage
gem aws-sdk-s3
I can upload image but when I click to delete image I get this:
```
:S3::Errors::NoSuchKey:
ap...
Jorge Dominguez posted