Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more
Nancy B
Joined
Activity
Got it! In my comments.rb:
has_many :commenters, through: :comments, source: :user
belongs_to :commentable, polymorphic: true
belongs_to :user
I have belongs_to :user
in my Comment model
How can I get all of the users that have commented? What I would like is to be able to:
@post.commenters.each do |u|
something here...
end
Posted in Mailboxer Gem
I don't know yet :) I was just doing a little research before I spend time working on it and your vid suggests using the latest from GitHub. When I checked the Github repo I checked out the latest commit messages first.
Posted in Mailboxer Gem
I want to implement messaging in my app and I see that the most recent commits to the mailboxes gem say it no longer works in newer Rails versions. If it's not still relevant, then is there a new gem I should be looking at?
Posted in In-App Messages Between Users Discussion
Is this gem still relevant? I am implementing messaging in my app and I see that the most recent commits on GitHub say the gem no longer works with newer Rails?