Acts_as_bookmarkable - undefined method `add_bookmark'


I’m jsut attempting to sue the acts_as_bookmarkable for the first time.

when I run the following 3 lines, I get an error undefined method

@blog = Blog.find(params[:id])
bmark = => @blog.title, :user_id =>
@blog.add_bookmark bmark

From what I can tell there is no method in the plugin ‘add_bookmark’, is
this the problem, if so has anyone got a compy of it that I can use?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs