Acts_as_bookmarkable - undefined method `add_bookmark'

Hi,

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
`add_bookmark’

@blog = Blog.find(params[:id])
bmark = Bookmark.new(:title => @blog.title, :user_id =>
session[: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?

thanks
soctt

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