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:
acts_as_textiled / init.rb
100644 8 lines (7 sloc) 0.137 kb
1
2
3
4
5
6
7
8
begin
  require 'RedCloth'
rescue LoadError
  nil
end
 
require 'acts_as_textiled'
ActiveRecord::Base.send(:include, Err::Acts::Textiled)