Hello, I''m looking to add comments to records in my app like Books. So a user can view a Book and then comment on it... As a newbie, is this something that I should build from scratch, or are there any popular Commenting Plug-ins, (Ajax implemented) that might be worth utilizing? Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
acts_as_commentable would take care of all the model work for you. You still need to do the controller and view, so you could make it ajaxy. I often like to peruse http://ruby-toolbox.com/ before I add anything to a web app I haven''t done before. Luke On 2010-09-12, at 4:52 PM, nobosh wrote:> Hello, > > I''m looking to add comments to records in my app like Books. So a user > can view a Book and then comment on it... > > As a newbie, is this something that I should build from scratch, or > are there any popular Commenting Plug-ins, (Ajax implemented) that > might be worth utilizing? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks Luke, I hadn''t heard of that site before - looks helpful On Sep 12, 7:02 pm, Luke Cowell <lcow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> acts_as_commentable would take care of all the model work for you. You still need to do the controller and view, so you could make it ajaxy. > > I often like to perusehttp://ruby-toolbox.com/before I add anything to a web app I haven''t done before. > > Luke > > On 2010-09-12, at 4:52 PM, nobosh wrote: > > > > > Hello, > > > I''m looking to add comments to records in my app like Books. So a user > > can view a Book and then comment on it... > > > As a newbie, is this something that I should build from scratch, or > > are there any popular Commenting Plug-ins, (Ajax implemented) that > > might be worth utilizing? > > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
i dont recommend ajaxing comment since you will need captcha or/and a comment publishing page, if you go with instant post/ajax , prepare for millions of spam comments. On Sun, Sep 12, 2010 at 10:31 PM, nobosh <bhellman1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks Luke, I hadn''t heard of that site before - looks helpful > > On Sep 12, 7:02 pm, Luke Cowell <lcow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > acts_as_commentable would take care of all the model work for you. You > still need to do the controller and view, so you could make it ajaxy. > > > > I often like to perusehttp://ruby-toolbox.com/before I add anything to a > web app I haven''t done before. > > > > Luke > > > > On 2010-09-12, at 4:52 PM, nobosh wrote: > > > > > > > > > Hello, > > > > > I''m looking to add comments to records in my app like Books. So a user > > > can view a Book and then comment on it... > > > > > As a newbie, is this something that I should build from scratch, or > > > are there any popular Commenting Plug-ins, (Ajax implemented) that > > > might be worth utilizing? > > > > > Thanks > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > . > > > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > > > For more options, visit this group athttp:// > groups.google.com/group/rubyonrails-talk?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 13 September 2010 04:50, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i dont recommend ajaxing comment since you will need captcha or/and a > comment publishing page, if you go with instant post/ajax , prepare for > millions of spam comments.What does using AJAX or not have to do with whether or not you use a CAPTCHA process? It''s perfectly feasible to have an comment form with some form of Turing test which submits with AJAX and displays a "thanks, your comment will appear when approved" message. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
"What does using AJAX or not have to do with whether or not you use a CAPTCHA process?" because some bots will bypass the captcha, and he will need a publishing page where he can delete those spams that get through because captcha alone is not enough so at the end captcha is only an aid to stop most of the spam but not all. On Mon, Sep 13, 2010 at 4:38 AM, Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 13 September 2010 04:50, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > i dont recommend ajaxing comment since you will need captcha or/and a > > comment publishing page, if you go with instant post/ajax , prepare for > > millions of spam comments. > > What does using AJAX or not have to do with whether or not you use a > CAPTCHA process? > It''s perfectly feasible to have an comment form with some form of > Turing test which submits with AJAX and displays a "thanks, your > comment will appear when approved" message. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 13 September 2010 13:36, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> "What does using AJAX or not have to do with whether or not you use a > CAPTCHA process?" > > because some bots will bypass the captcha, and he will need a publishing > page where he can delete those spams that get through because captcha alone > is not enough so at the end captcha is only an aid to stop most of the spam > but not all.Any bots that can bypass an AJAX captcha could bypass the same captcha on a non-AJAX submission. And AJAX or not, the choice is up to you whether to have a "publishing/approval" page. Again - There''s nothing special about AJAX that makes any implementation of a "commentable" feature inherently less secure. It''s *exactly* the same as a normal form submission/process procedure, just performed by Javascript and in the background to the user. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
my point was that is you have a °publishing/approval" page there is no use for ajax. On Mon, Sep 13, 2010 at 11:46 AM, Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 13 September 2010 13:36, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > "What does using AJAX or not have to do with whether or not you use a > > CAPTCHA process?" > > > > because some bots will bypass the captcha, and he will need a publishing > > page where he can delete those spams that get through because captcha > alone > > is not enough so at the end captcha is only an aid to stop most of the > spam > > but not all. > > Any bots that can bypass an AJAX captcha could bypass the same captcha > on a non-AJAX submission. > And AJAX or not, the choice is up to you whether to have a > "publishing/approval" page. > > Again - There''s nothing special about AJAX that makes any > implementation of a "commentable" feature inherently less secure. It''s > *exactly* the same as a normal form submission/process procedure, just > performed by Javascript and in the background to the user. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 13 September 2010 20:14, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> my point was that is you have a °publishing/approval" page there is no use > for ajax. >Unless the comment form is a small component of the page, and you don''t want to reload the whole page when the user makes a comment, and you do want to pop up a nice transitional effect and notification when they do.... you know, the stuff AJAX makes all pretty... Your original reply implied that there was something inherently insecure about using AJAX methods - this is *not* the case. They''re as secure or insecure as you make them. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
yes , think there is a language barrier and some of my ideas dont get through the way i want them to. I for example use ajax to update comments that i publish/approve, but not for instant update. On Mon, Sep 13, 2010 at 3:27 PM, Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 13 September 2010 20:14, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > my point was that is you have a °publishing/approval" page there is no > use > > for ajax. > > > > Unless the comment form is a small component of the page, and you > don''t want to reload the whole page when the user makes a comment, and > you do want to pop up a nice transitional effect and notification when > they do.... you know, the stuff AJAX makes all pretty... > > Your original reply implied that there was something inherently > insecure about using AJAX methods - this is *not* the case. They''re as > secure or insecure as you make them. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
By instant update i mean, displaying the comment without the need for approval On Mon, Sep 13, 2010 at 3:35 PM, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> yes , think there is a language barrier and some of my ideas dont get > through the way i want them to. > > I for example use ajax to update comments that i publish/approve, but not > for instant update. > > > On Mon, Sep 13, 2010 at 3:27 PM, Michael Pavling <pavling-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote: > >> On 13 September 2010 20:14, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > my point was that is you have a °publishing/approval" page there is no >> use >> > for ajax. >> > >> >> Unless the comment form is a small component of the page, and you >> don''t want to reload the whole page when the user makes a comment, and >> you do want to pop up a nice transitional effect and notification when >> they do.... you know, the stuff AJAX makes all pretty... >> >> Your original reply implied that there was something inherently >> insecure about using AJAX methods - this is *not* the case. They''re as >> secure or insecure as you make them. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> >> . >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> >> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 13 September 2010 20:36, radhames brito <rbritom-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> By instant update i mean, displaying the comment without the need for > approvalI agree - that''s a crazy thing to do! (AJAX or not ;-) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Possibly Parallel Threads
- Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
- Rails 3 - Creating a comment and then returning the Partial with JUST the new comment
- what I've missed in routes.rb?
- Trying to look up comment through an ID, but failing
- Simple_captcha issue