search for: text_filt

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

Did you mean: text_file
2006 May 26
8
calling render_to_string outside of controller
How can I call render_to_string outside of a controller. I''m stuck on this. I''ve nearly got my plugin finished but I can''t seem to get this to work. The method is in ActionController::Base but it is protected. -- Posted via http://www.ruby-forum.com/.
2006 May 26
1
access a ActionControllers protected method from plugin?
...module Blog def self.included(base) base.extend(ClassMethods) end def acts_as_blog class_eval do extend TextConversion::Acts::Blog::SingletonMethods end end end module SingletonMethods def convert_to_html(txt, text_filter, restrictions = []) txt = Execute.execute_ruby_code(txt) end return txt end end end end -- Posted via http://www.ruby-forum.com/.