search for: meta_tag

Displaying 2 results from an estimated 2 matches for "meta_tag".

2008 May 21
0
Problem with alias_method in a plugin
Hi, I''m doing my first plugin, based on attachment_fu structure. Here''s the code: http://pastie.caboo.se/200797. The problem is that the meta_tag method doesn''t seem to be overwritten. I can call model_instance.original_meta_tag and it return same thing as model_instance.meta_tag, so the aliasing works. I can call model_instance.foo and it correctly returns class of the model, so instance method also works. I''ve set brea...
2008 Mar 06
1
Unitialized constant ActionView::Helpers::TagHelper::Set
Hi all, I write the following test to a simple plugin require ''rubygems'' require ''test/unit'' require File.dirname(__FILE__) + ''/../lib/meta_tags'' require ''action_view/helpers/tag_helper'' class MetaTagsTest < Test::Unit::TestCase include MetaTagHelper include ActionView::Helpers::TagHelper . . . end and when I run rake in the root plugin directory I get the following error /usr/bin/r...