SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simply rails 2 help once again...

    Hi,

    I'm having trouble getting the plugin acts_as_taggable_on_steroids to work.

    I've installed the plugin, generated the files, did the migration, and added acts_as_taggable to my app/models/story.rb file.

    Oh yes, I forced installed the plugin from this url git://github.com/jviney/acts_as_taggable_on_steroids.git over the one in the book, as I got errors that said it can't find the url, or something like that...

    This is where I run in to the problem...

    On chapter 10, p361, we're supposed to start the console to play with the new functionality that the plugin provides. But as soon as I type
    Code:
    s = Story.find(:first)
    , I get an error that says,
    Code:
    NameError: undefined local variable or method 'acts_as_taggable' for #<Class0x4c5773c>
    , and then it lists a whole bunch of files that come from the file active_support.

    Does anyone know what I did wrong? I double checked my spelling this time, and can't find anything wrong.... I did everything according to the book...

  2. #2
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to reload the console by typing >>reload!


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •