This is a simple plugin that will add a before_save callback to add
nofollow to all links within the given fields.
Example use:
Install the plugin:
ruby script\plugin install
http://svn.railslodge.com/svn/plugins/nofollow_links/
Simply add this to the required fields
e.g. Example model:
class Plugin < ActiveRecord::Base
#plugins
nofollow_links :content, :title
end
See http://www.railslodge.com/blogs/11/ for further details.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---