Displaying 20 results from an estimated 5000 matches similar to: "How to know that a plugin is loaded"
2006 Jun 23
0
Engine controllers are read twice
In all our engines, the app/controllers/*_controller.rb are read twice
during application startup, resulting in undesirable side effects,
such as duplicated before and after filters.
We have post a ticket in the Rails Engine tracking system [1], but we
are doubting if it is also reasonable to post it in Rails Trac,
because, althought de engine has its own controllers, filters are
Rails features.
2006 Jan 23
8
OT: Problem rotating logs with lighttpd
Hi everybody,
this is a little OT. We are using Lighttpd as a webserver for Rails.
Our problem is that when we rotate the logs everyday at the end of the
process, lighttpd stops writing the logs. To solve this we have to
restart the server manually each time.
We use a common Debian, lighttpd-1.4.7, Rails 1.0 and fcgi-2.4.0.
I have tracked the lighttpd bugs, and I haven''t found
2006 Aug 11
2
dreamhost error after 1.1.5 upgrade
My site was working fine earlier, but since the 1.1.5 upgrade at
dreamhost it just hangs and hangs and then gives the "Application error,
rails failed to load properly". Fastcgi was and still is enabled in the
control panel. I had been using capistrano to deploy and it has been
working well that way. The application works on my local box which has
1.1.6 running. I edited
2006 Jan 29
1
Why am I getting "undefined local variable or method `acts_as_taggable''"?
Hello,
I recently installed acts_as_taggable using the following command:
gem install acts_as_taggable
# output follows
Attempting local installation of ''acts_as_taggable''
Local gem file not found: acts_as_taggable*.gem
Attempting remote installation of ''acts_as_taggable''
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed
2006 Nov 27
1
rails environment loaded but one plugin is undefined (using backgroundrb 0.2.0)
Hello all,
I''m using BackgroundRb 0.2.0 (standalone) and in the do_work method of
my worker, I''m working with objects from my Rails application. So in my
config/backgroundrb.yml file, I added this line:
:load_rails: true
I think my worker isn''t doing what I want him to do. So I opened the
console and read these error lines:
# ruby script/backgroundrb console
2006 Apr 03
5
Newbie question about acts_as_taggable
I installed the acts_as_taggable plugin that DHH wrote.
Now I have met problems on using it:
class Book < ActiveRecord::Base
acts_as_taggable
end
mybook = Book.new
mybook.tag_with(''red library book'')
But the system tell the wrong message:
undefined method `parse'' for Tag:Class
d:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1123:in
2006 Apr 03
0
Re: acts_as_taggable can not be used under 1.1
acts_as_taggable is working fine for me on 1.1.
i''m getting acts_as_taggable from svn
(http://dev.rubyonrails.com/svn/rails/plugins/acts_as_taggable/), installing it
into /vendor/plugins/acts_as_taggable
> If the acts_as_taggable plugin has been installed via ruby script/plugin
> install acts_as_taggable while not acts_astaggable gem installed via gem
> install
2007 Jan 19
0
Acts_as_taggable (the gem) woes (solved)
Hi,
I had to battle quite a bit to find how to load acts_as_taggable
without using require_gem.
where I previously had
require_gem ''acts_as_taggable''
I tried replacing by the obvious
gem ''acts_as_taggable''
require ''acts_as_taggable''
this failed miserably. The trick is that the acts_as_taggable module
is in a file named taggable in the lib
2006 Apr 03
2
It seems that acts_as_taggable can not be used under 1.1?
If the acts_as_taggable plugin has been installed via ruby script/plugin
install acts_as_taggable while not acts_astaggable gem installed via gem
install acts_as_taggable,it seems that the plugin can not work at all
under the rails 1.1 enviroment.According to
http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto
the plugin should work under edge rails,but when the document
2006 Aug 29
1
acts_as_taggable question
Hi folks,
I was using the acts_as_taggable gem in my application. However recently I accidentally ran
gem install acts_as_taggable and now my application is giving errors complaining about missing tables resources_tags
Before running the gem install command, I had tables named as tags_resources. Why am I now getting these errors? Has there been a change in acts_as_taggable gem? Why would it
2006 Jun 30
0
find_by_sql not quoting properly (in acts_as_taggable plugin)
I have run into a very strange problem discovered through the use of
the acts_as_taggable plugin, but related to quoting/sanitizing the
interpolated list in a find_by_sql. Apologies for the length, but I
wanted to be complete. ;-)
The method from acts_as_taggable.rb is:
def find_tagged_with(list)
find_by_sql(["SELECT #{table_name}.* FROM #{table_name},
tags,
2006 Jan 20
6
HELP: acts_as_taggable problem with :clear => true
I''ve got the basics of acts_as_taggable going, but I now want to use
:clear => true on the tags method, because the tags I''m supplying as
parameters are the complete set of tags for the item, not additions to
existing tags.
Problem is, that gives me a nasty SQL error ...
Unknown column ''id'' in ''where clause'': UPDATE items_tags SET
2006 Jan 30
1
acts_as_taggable => error: undefined method ''tag''
I get an "undefined method ''tag''" when I try to use the
acts_as_taggable.
Note that it''s not the issue of bouncing webrick after changing the
environment.rb file. (I stumbled on that too... :-( ).
I read all the doc I could find (on this site, on
http://rails.techno-weenie.net and at http://taggable.rubyforge.org/)
but I couldn''t find anything I
2005 May 17
2
Problem with limmaGUI (PR#7877)
Full_Name: Edoardo Giacopuzzi
Version: 2.0.1
OS: Windows XP Home
Submission from: (NULL) (80.181.65.157)
I have some problem with this new version of R GUI.
I've used limmaGUI package with an older version of R and it works perfectlly,
but now with the last version R 2.0.1.0 two error boxs appear every time I try
to launch this package:
1. <<Error in list.files(path, pattern,
2007 Jul 14
3
Send SMS out of R?
Hi everyone,
Now I read the posting guidelines again; COMPLETELY! ;-)
I use Windows XP Professional, R 2.5.1 and I have Blat to send eMails out of
R. Works perfect! Thank you for your help!
Now I want to send an SMS out of R! Any idea how it could work? Could I send
an eMail to a mobile phone number?
Thank you
Thomas
[[alternative HTML version deleted]]
2006 Feb 28
0
acts_as_taggable and mechanize
Hi,
I''m trying to use both acts_as_taggable and mechanize (WWW::Mechanize) gems
in my app. The problem is that when I do
require ''mechanize''
in the app, acts_as_taggable throws the following error.
undefined method `table_name'' for Struct::Tag:Class
coming from .../gems/acts_as_taggable-1.0.4/lib/taggable.rb:150
However it works fine if I don''t
2006 Nov 21
0
Observer + acts_as_taggable plugin = dead app
so i have found that if i try to place an observer on a model that is
using the acts_as_taggable plugin, my app will not start up. this is
what i get in the mongrel startup log
/Applications/Locomotive2/Bundles/rmagickRailsSept2006_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1129:in
`method_missing'': undefined local variable or method
2006 Nov 11
0
acts_as_taggable plugin - paging through tagged model
Hi,
I''m using the acts_as_taggable plugin & wanted to page through all a
model''s records taggged with a particular tags.
i.e. page through all Model records that have been tagged with "artist"
I could not work out how to do this with the plugin, so I made the
changes outlined below.
Did I need to do this..? & does anyone else find this useful?
2007 Feb 08
1
Problem with acts_as_taggable table migration
I just installed acts_as_taggable in my Rails app, and built the
migration for the needed tables. When I went to run the migration via
the rake command I got this:
/Users/brianlandau/rails/lispr/config/../vendor/plugins/
acts_as_taggable/lib/acts_as_taggable.rb:1: syntax error, unexpected
$end
"WHERE #{table_name}.#{primary_key} = taggintags, taggings
" +e_record_descendant,
2006 Feb 16
1
[PATCH] acts_as_taggable plugin
hi,
I started today to use the acts as taggable plugin and it''s working as
expected.
I added a method find_tagged_with_all since I needed to find the
elements tagged with all the items in a list while find_tagged_with
finds all the elements tagged with any of the list terms.
Attached to this mail there''s a patch which adds the
find_tagged_with_all method and which solves a