[rails] Instalando fckeditor 0.4.3
23 de Abril
Passo 01
script/plugin install svn://rubyforge.org//var/svn/fckeditorp/trunk/fckeditor
Passo 02
rake fckeditor:install
Passo 03 - edite app/controllers/fckeditor_controller.rb
def upload_directory_path
uploaded = ActionController::Base.relative_url_root.to_s+"#{UPLOADED}/#{params[:Type]}"
"#{uploaded}#{params[:CurrentFolder]}"
end
Passo 04 - edite lib/fckeditor.rb
js_path = "#{ActionController::Base.relative_url_root}/javascripts"
Passo 05 - no seu head
<%= javascript_include_tag :fckeditor %>
Passo 06 - No seu form
<%= fckeditor_textarea("noticia", :descricao, :toolbarSet => 'Simple', :width => '100%', :height => '400px') %>
Pronto
.



RSS