Displaying 4 results from an estimated 4 matches for "acts_as_tagable".
Did you mean:
acts_as_taggable
2006 May 21
2
acts_as_taggable and single table inheritance
I''ve set up a couple of STI models like such that we get something like
this...
class A < AR:Base
class B < A
acts_as_taggable
class C < A
acst_as_taggable
(using the acts_as_taggable plugin)
I can tag things just fine this way, the problem I encounter is that the
taggings are listed with the base class ("A") and not the appropriate
subclass ("B"
2007 Apr 23
3
Troubles with using gems in Rails
...nderstanding is
that after following sequence in irb:
$ irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''active_record''
=> true
irb(main):003:0> gem ''acts_as_taggable''
=> true
I should have access to acts_as_tagable mixins, like:
irb(main):005:0> ActiveRecord::Acts::Taggable
NameError: uninitialized constant ActiveRecord::Acts::Taggable
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:263:in
`load_missing_constant''
from
/usr/local/lib/ru...
2006 Jan 05
0
Problem implementing tagging
I have a Post model, which is linked to the Tag model via a
has_and_belongs_to_many relationship and a join table. Post also has handy
tagstring and tagstring= methods that allow you to define tags by
space-delimited strings.
The problem is this. Whether I assign a list of tags with the tagstring=
method or use p.tags << to form the list of tags, if (on a newly-created
post) I try to
2010 Jan 21
2
will_paginate ?
Does anyone have experience with will_paginate?
I''m trying to use it with acts_as_ferret.
routes.rb
...
map.search ''/search'', :controller => ''notes'', :action => ''search''
notes.rb
...
acts_as_ferret :fields => [ ''body'' ]
notes_controller.rb
...
def search
if params[ :query ]
@query = params[