Search Results for "why-limit-not-working-with-find_by"
Lessons
Forum Threads

API Authentication with an OAuth Provider Discussion
41
General
Awesome! Can't wait to see the next videos!
Jeremy Bray replied

Pagination with will_paginate Discussion
12
General
Hey,That was a great screencast! Keep up the good work. I was just wondering if there's a way to limit users from accessing pages without any posts? Maybe by editing routes.rb?
Sandhya replied

Group Chat with ActionCable: Part 4 Discussion
69
General
As for message relay jobs matter for this particular subject of this ActionCable example, do you recommend putting down for its current_user's id or name in these kind of scenarios when it comes to...

has_many :through association woes
10
Rails
I have a has_many :through relationship between a few models that *almost* works.
My goal is to allow users to be assigned to projects and/or tasks. Everything seems to work except user_id's are n...
Adrian DeGus replied
Solved

Pull data from another table in a lookup
53
Rails
Hi all,
I am looking up a list of articles, depending on the brand ID's - `@articles = Article.where(brand_id: brand_ids)` what i would like to know is there a way to retrieve the brand name in thi...
Jacob Montgomery replied
Solved

CSV Upload Form to Import Records Discussion
11
General
Awesome job on explaining imports in a simple way. Some of the most complex chunks of code I have worked on are imports. Especially if the data is inconsistent and needs to have all the edge cases ...
spacerobotTR replied

Advanced Search, Autocomplete and Suggestions with ElasticSearch and the Searchkick gem Discussion
77
General
Chris, this is awesome!I was hoping you'd do a Searchkick/ElasticSearch video since you did the Ransack video!Thanks for all the great videos!

How do I update?
1
Rails
So, I'm following a YouTube video trying to create my first Blog. See the following link, at minute 13:50, https://www.youtube.com/watch?v=YCJqAZ--Sd8. I'm attempting to do ...

Deploy Ubuntu 18.04 Bionic Beaver Discussion
77
General
Thanks btihen! I'll get the tutorial updated for its changes shortly!

why destroy action is called two times.
6
Rails
my destroy action
def destroy
@owner = User.find(params[:id])
@owner.destroy
respond_to do |format|
format.html { redirect_to root_path }
format.js {}
end
my index page delete link
...
naveen kumar replied
Solved

Realtime Online User Tracking with ActionCable Discussion
16
General
How would you limit those users by tenant ( account)? Would you make the data sent to redis an array of two integers, like [1, 2] where 1 is the account.id and 2 is the user.id? Or is there a simpl...
Matthias Orgler replied

File Uploads with Refile Discussion
94
General
Awesome.
Someone replied

How do I find out why Stimulus controllers aren't getting compiled? Asset Pipeline problem
1
Javascript
I updated a Rails 6 app to Rails 7 and changed from Webpacker to esbuild/webpack. Added Stimulus, and after not getting controllers to work tried a basic hello_controller and then searched the appl...
Greg S replied

How to use Devise with Hotwire & Turbo.js Discussion
81
General
Hey Chris - If we are still using Webpacker, we just need to change data-turbolinks-track to data-turbo-track in our layout files? In your episode repo, you still have it as turbolinks.
<%= st...

Group Chat with ActionCable: Part 5 Discussion
23
General
Hi Chris,How many users is a chatroom-site like this able to handle?thanks,
anasaijaz replied

Group Chat with ActionCable: Part 7 Discussion
30
General
Hi! response for the new userundefined method `last_read_at' for nil:NilClass for Chatrooms#show how to solve?
FX replied

Inviting Users with devise_invitable Discussion
46
General
What made you laugh at 7:25? Is that a bird?! When do we get meet her/him? :)
nikhil kumawat replied

Comments With Polymorphic Associations Discussion
98
General
Awesome Video. I really liked and refreshed my concepts about Polymorphic Associations. Thanks :)
Karl McCollester replied

Subscriptions with Stripe Discussion
96
General
Hey Chris! Not sure if this is just me, but there seems a problem downloading the video's.
Jon Roock replied