November 13th, 2008

If your application stores information, one of the most critical keys to success is allowing users to get that information in quick. If the process is a pain, they’ll move on to something else. One way to allow for easy and quick data entry is a bookmarklet. I recently created a couple for an app I am scratching an itch with and thought I would share the results with you.

Two FYIs: For some reason I sniffed twice during the recording, but I decided to leave them both in to add some “reality.” Also, the ND YouTube tab was open because I was going to show how the tumblr bookmarklet works, not because I forgot the tab open.

Quicktime Creating and Integrating Bookmarklets with Rails

Posted by jnunemaker

Tagged: , ,

8 Responses to “Creating and Integrating Bookmarklets with Rails”

  1. Hi John. I’m interested but I can’t find any video.

  2. @srb There is a link at the bottom of the post to the video with a QuickTime logo by it.

  3. My bad. I browse with noscript and flashblock so I couldn’t see the video when I clicked the link.

  4. Love it, jnune. Will be using it in my app for sure.

  5. @srb – No problem. Glad you got it working.

  6. Awesome screencast, John.

    Do you happen to know how to modify the code to preserve linebreaks if the user select multiple paragraphs?

  7. @jeff – It should automatically preserve line breaks in the database. You just have to make sure you convert the line breaks to paragraphs or something when you output. Try using textilize, acts_as_textiled, or simple_format.

  8. John, indeed, you’re right. Apologies :)

Sorry, comments are closed for this article to ease the burden of pruning spam. If you have any further comments, just send me an email.

About

Authored by John Nunemaker (Noo-neh-maker), a web developer and programmer who has fallen deeply in love with Ruby. More about John.

Syndication

Feed IconRailsTips Articles - An assortment of howto's and thoughts on Ruby and Rails.

Feed IconRails Quick Tips - Ruby and Rails related links that I find. Never more than 5 a day.

Search