Archive for August, 2008

Wasting time in Rails

Tuesday, August 19th, 2008

I just spent about 20 minutes trying to use the form_remote_for tag with the :update attribute. No big deal, right? The following occurred: Upon running, the entire page rendered the partial, not just the designated div. request.xhr? always returned false in the controller. What was the problem?  Oh, I forgot to include ...

Rails Plugin: dynamically_tags

Sunday, August 17th, 2008

Background I wanted a way to allow a user to enter text into a field, and have those fields automatically link to existing objects based on keywords. For example, a user types a comment into a blog: "I think Chicago is a great city." Somewhere in the database, there's ...