Created
April 19, 2012 08:53
Revisions
-
ojiry revised this gist
Apr 19, 2012 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,5 +8,8 @@ $ bundle $ rails g ckeditor:install --orm=active_record --backend=carrierwave $ rails g scaffold product title body:text $ rake db:migrate $ cat -n app/assets/javascripts/application.js | grep ckeditor 15 //= require ckeditor/init $ cat -n app/views/products/_form.html.erb | grep cktext_area 20 <%= f.cktext_area :body, toolbar: 'Full' %> $ rails s -
ojiry created this gist
Apr 19, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ $ r new ckeditor $ cd ckeditor $ cat -n Gemfile | grep -A 2 ckeditor 24 gem 'ckeditor', '3.7.0.rc3' 25 gem "carrierwave" 26 gem "mini_magick" $ bundle $ rails g ckeditor:install --orm=active_record --backend=carrierwave $ rails g scaffold product title body:text $ rake db:migrate $ cat -n app/views/products/_form.html.erb | grep cktext_area 20 <%= f.cktext_area :body, toolbar: 'Full' %>