public
Description: Makes your models act as textiled.
Homepage: http://errtheblog.com/posts/12-actsastextiled
Clone URL: git://github.com/defunkt/acts_as_textiled.git
Search Repo:
defunkt (author)
Tue Mar 11 23:20:48 -0700 2008
commit  6a3a952e6c6287fde06b449e8a0257db4f8ef15e
tree    9785a0c77e398f11ee0daeea256c3d7a02fa698f
parent  3869d8ea49c7edbcc37685f362838d66966727d9
acts_as_textiled / init.rb
100644 9 lines (7 sloc) 0.137 kb
1
2
3
4
5
6
7
8
9
begin
  require 'RedCloth'
rescue LoadError
  nil
end
 
require 'acts_as_textiled'
ActiveRecord::Base.send(:include, Err::Acts::Textiled)