Displaying 2 results from an estimated 2 matches for "actsasblog".
Did you mean:
acts_as_blog
2006 May 26
1
access a ActionControllers protected method from plugin?
...er on part of the
text. I can''t seem to figure out how to access the render method of
ActionController::Base. I keep getting the "uninitialized constant
Execute" error. How can I do this? I''m I even barking up the right
tree? Here''s the relevent code
# ActsAsBlog - used to convert redcloth,markdown,smarty to html. also
evals <ruby> code and escpates html if needed
require ''active_record''
require ''action_controller''
class Execute < ActionController::Base
def self.execute_ruby_code( str )
logger.error('...
2006 May 31
0
acts_as_blog
ActsAsBlog
==========
Here is a simple plugin to allow you to allow the use of
RedCloth,BlueCloth, or SmartyPants in your blog.
It''s super simple to use. It will take your blog post or comment and
transform it into html.
This allows you to write in a much simpler syntax and allows your users
to po...