Ruby
How do you get a feature to set the value of a ckeditor field so that it can run under any driver (javascript or not)?
#value = "Thing to set body to..."
begin
page.evaluate_script("CKEDITOR.instances.discussion_body_editor.setData('<p>#{value.gsub("'","\\\\'")}</p>');")
rescue Capybara::NotSupportedByDriverError
And %{I fill in "discussion_body_editor" with "#{value}"}
end
Here are the notes I took during the epic voyage of getting rails + postgresql working on my macbook in case it helps anyone out there...
#started with
sudo port -v selfupdate
#then started postgres install via macports
sudo port install postgresql84 postgresql84-server
#failed several times, but got it to work after running the 'clean openssl' command and re-running
With a few simple changes you can get plupload to work with an existing paperclip based model/controller in your Ruby On Rails application.
Step 1) Modify the plupload initialization from the example on plupload's site - note the comments marked "RoR"
Tired of wrestling with Dupal and its evil spawn Ubercart, I recently decided to see what Ruby on Rails has been up to lately. An initial search turned up a few options
Substruct : This looked like it had a lot of potential, but I noticed that it has not had much activity lately. The documentation also was very sparse.
Copyright © 2011, Aaron Blondeau
Drupal theme by Kiwi Themes.