AhmedNadar PRO
Joined 1/22/2017
AhmedNadar PRO said almost 3 years ago on Nested Comments from Scratch :
Thanks for your video. 
I have followed it but I got an error on creating a reply. I'm able to create a comment and delete a reply. 
I get below error header + previous comment when I create a reply. Although when I refresh item show view i see all replies.

NoMethodError at /comments/12/comments
undefined method `comment_url' for #<Comments::CommentsController:0x00000000025e18>
Did you mean?  comment_comment_url
URL
http://localhost:3000/comments/9/comments



Better_errors request info and instance variables
@_params | #<ActionController::Parameters {"authenticity_token"=>"======", "comment"=>
#<ActionController::Parameters {"content"=>"nice"} permitted: false>, "commit"=>"Create Comment", "controller"=>"comments/comments", "action"=>"create", "comment_id"=>"10"} permitted: false>
@ransack_items | Ransack::Search<class: Item, base: Grouping <combinator: and>>
@commentable | #<Comment id: 10, user_id: nil, commentable_type: "Comment", commentable_id: 9, content: nil, created_at: "-0000", updated_at: "20000">
@current_user | #<User id: 1, email: "admin@gmail.com", created_at: "0000", updated_at: "0000-", first_name: "Admin", last_name: "Man", slug: "admin-man">
@comment | #<Comment id: 12, user_id: 1, commentable_type: "Comment", commentable_id: 10, content: "nice", created_at: "-0000", updated_at: "0000">
Request parameters | {"authenticity_token"=>"=====", "comment"=>{"content"=>"nice"}, "commit"=>"Create Comment", "controller"=>"comments/comments", "action"=>"create", "comment_id"=>"10"}

While I followed your video, I have different setup for items:
#controllers/items/comments_controller.rb
@commentable = Item.friendly.find(params[:item_id])

#routes.rb
resources :items do
 resources :comments, only: %i[new create destroy], module: :items
end

What am I missing? 
Thanks

AhmedNadar PRO said over 2 years ago on Marketplace Solution with Stripe Connect :
Thanks for the awesome video.
Is it possible to cover percentage cuts/fees for the platform/marketplace instead of subscriptions?
To be more clear, a platform/marketplace get is cuts/fees from stores/merchants as a percentage from merchandise sold price. 

Thanks

AhmedNadar PRO said over 2 years ago on Friend Requests Views, Controllers, and Model Methods :
Wonderfull videos as usual David. 
I'm tempting use Drifiting Social Media with Hotwire but I ran too many issues and it is a bit confusing.
Would you plan for another take using Rails 7 and hotwire?

AhmedNadar PRO said over 2 years ago on Hotwire Dashboards :
What a fantastic episode David. 

Regarding Rails 7, have you worked with import_maps instead of jsbundling and cssbundling? 

AhmedNadar PRO said over 2 years ago on Hotwire Dashboards :
  David Kimura I'm working on a new project, a marketplace, and trying both ways (esbundling and import_maps) to create simple functions/features and using external libraries. And to be honest, while node_modules got much slimmer still caused some issues, beside performance and development's joy is better with import_maps.

If it is possible, have an episode highlights import_maps usage and compare it to an esbuild episode.