Ruby on Rails Wednesday, June 28, 2017


On 2017-Jun-28, at 01:49 , fugee ohu <fugee279@gmail.com> wrote:



On Monday, June 26, 2017 at 9:43:19 AM UTC-4, Rob Biedenharn wrote:
At this point, you should be able to look around a small codebase like this and figure it out, but here are the "hints":





If you don't get how this is working, point to a specific thing and ask a more directed question.

-Rob

P.S. The routes could easily be amended to be:
resources :comments, except: [:new]

On 2017-Jun-25, at 22:04 , fugee ohu <fuge...@gmail.com> wrote:

I'm looking at the Dustin Fisher example app on github https://github.com/DustinFisher/acts-as-commentable-with-threading-example/tree/master/ but his comments_controller.rb has no new action Can someone clarify please?

-- 
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6554adbe-6847-4925-bbaa-097b583eda93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why does comments/_reply.html.erb have to recursively render itself again after the form ?

Because you can reply to a comment and then someone could reply to your reply, etc. Note that the recursive call is only for the comment.children so it won't go on forever.
-Rob

No comments:

Post a Comment