Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-05 Thread fugee ohu
On Friday, February 5, 2016 at 1:42:27 AM UTC-5, nanaya wrote: > > Sorry, wrong link. > > On Fri, Feb 5, 2016, at 15:33, nanaya wrote: > > It's already doing exactly that. Check the respond_to[1] line at the top > > of the controller and the corresponding views[2]. > > > > [1] > > > http:/

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-04 Thread nanaya
Sorry, wrong link. On Fri, Feb 5, 2016, at 15:33, nanaya wrote: > It's already doing exactly that. Check the respond_to[1] line at the top > of the controller and the corresponding views[2]. > > [1] > http://api.rubyonrails.org/classes/ActionController/MimeResponds.html#method-i-respond_to > S

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-04 Thread nanaya
Hi, On Fri, Feb 5, 2016, at 14:49, fugee ohu wrote: > > The controller > https://github.com/sudharti/socify/blob/master/app/controllers/likes_controller.rb > > doesn't respond with any rendering I don't wanna redirect I just wanna > change the like button to the unlike button so how would i

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-04 Thread fugee ohu
On Wednesday, February 3, 2016 at 11:42:08 PM UTC-5, nanaya wrote: > > Hi, > > On Thu, Feb 4, 2016, at 04:53, fugee ohu wrote: > > > > > > > https://github.com/sudharti/socify/blob/master/app/views/shared/_actions.html.erb > > > > > > > > Yikes, what does this mean? <%= render 'likes/form

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-04 Thread fugee ohu
On Wednesday, February 3, 2016 at 11:42:08 PM UTC-5, nanaya wrote: > > Hi, > > On Thu, Feb 4, 2016, at 04:53, fugee ohu wrote: > > > > > > > https://github.com/sudharti/socify/blob/master/app/views/shared/_actions.html.erb > > > > > > > > Yikes, what does this mean? <%= render 'likes/form

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-03 Thread nanaya
Hi, On Thu, Feb 4, 2016, at 04:53, fugee ohu wrote: > > > > https://github.com/sudharti/socify/blob/master/app/views/shared/_actions.html.erb > > > > > > Yikes, what does this mean? <%= render 'likes/form', likeable: resource > %> > it means you need to read documentation: http://api.rubyo

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-03 Thread fugee ohu
On Wednesday, February 3, 2016 at 1:58:35 PM UTC-5, nanaya wrote: > > Hi, > > On Wed, Feb 3, 2016, at 17:35, fugee ohu wrote: > > i'm trying to follow this tutorial > > > https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg > > > but on line

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-03 Thread nanaya
Hi, On Wed, Feb 3, 2016, at 17:35, fugee ohu wrote: > i'm trying to follow this tutorial > https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg > > but on line 1 of _form.html.erb for likes the author says <% if > current_user.liked? likeable

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-03 Thread fugee ohu
from the acts_as_followable gem, i was hoping someone would look at the page and tell me their interpretation but I guess that's not what this group is for On Wednesday, February 3, 2016 at 5:05:25 AM UTC-5, Colin Law wrote: > > On 3 February 2016 at 08:35, fugee ohu > > wrote: > > i'm trying

Re: [Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-03 Thread Colin Law
On 3 February 2016 at 08:35, fugee ohu wrote: > i'm trying to follow this tutorial > https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg > but on line 1 of _form.html.erb for likes the author says <% if > current_user.liked? likeable %> When i r

[Rails] Developing a social networking site; acts_as_votable (aka acts_as_likeable)

2016-02-03 Thread fugee ohu
i'm trying to follow this tutorial https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg but on line 1 of _form.html.erb for likes the author says <% if current_user.liked? likeable %> When i ran the app it raised the error undefined method li