Sha256: 4e6a48d93fc88793d63e31a2bf1a1b5e5f8d5ca8bf78a1f95b0f64364080c1a9
Contents?: true
Size: 960 Bytes
Versions: 1
Compression:
Stored size: 960 Bytes
Contents
= areeya_textile Prosty plugin do obsługi Textile w modelach ActiveRecord. Wymaga RedCloth[http://redcloth.org] oraz RSpec. Paweł Dzioba <pdzioba@me.com> GitHub Projekt: http://github.com/pdzioba/areeya_textile == Instalacja: Jako plugin: script/plugin install git://github.com/pdzioba/areeya_textile.git Jako gem: sudo gem install pdzioba-areeya_textile --source=http://gems.github.com lub wpisując w config/environment.rb w aplikacji: Rails::Initializer.run do |config| ... config.gem "RedCloth", :version => ">= 4.1.1", :source => "http://code.whytheluckystiff.net" config.gem 'pdzioba-areeya_textile', :lib => 'areeya_textile', :source => 'http://gems.github.com' ... end == Wykorzystanie: class Page < ActiveRecord::Base acts_as_textile :body end @page = Page.find(:first) @page.body.to_s #=> "h2. Textile Headline" @page.body.to_html #=> "<h2>Textile Headline</h2>"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pdzioba-areeya_textile-1.0.0 | README.rdoc |