Displaying 2 results from an estimated 2 matches for "rails_patches".
2006 May 18
2
attempt to override the ''tag'' method
I want to override the ''tag'' method in
ActionView::Helpers::TagHelper to do some generalized
error handling similar to the way scaffolding puts a
red border around fields that fail validation.
I''ve created a file lib/rails_patches/tag_helper.rb
which contains the following.
module ActionView
module Helpers
module TagHelper
alias_method :orig_tag, :tag
def tag(name, options = nil, open = false)
breakpoint
orig_tag(name, options, open)
end
end
end
end
I then have a vi...
2006 Jan 01
7
[ ANN ] Hieraki2
Happy new year! Hieraki 2.0.0 is released.
You can download Hieraki2 from rubyforge.org as tgz or zip
(http://rubyforge.org/projects/hieraki).
Hieraki2 has a new wiki engine that ships with more than a dozen new
features:
* everything-is-a-wiki-page (TM)
* all pages are under version control
* access control list
* stay in full control of the tree structure by cut and pasting