Links
dynamically_tags
Categories
dynamically_tags
I wanted a way to allow a user to enter text into a field, and have that text automatically reference existing objects based on its content. For example, a user types a comment into a blog: "I think Chicago is a great city." Somewhere in the database, there's a City object with a :name field that contains "Chicago". I want my application to realize this, and then DO something with that information. Most importantly, I want that linkage to persist, even if changes are made to the City object. And, finally, I don't want my application to have to scrape through ever bit of rendered text and compare it to every existing object each time that someone requests that information.
Vitals
| Home | http://blog.jasoncrystal.com/2008/08/17/rails-plugin-dynamically_tags/ |
|---|---|
| Repository | git://github.com/jcrystal/dynamically_tags.git |
| License | Rails' (MIT) |
| Tags |
|
| Rating | (1 vote) |
| Owner | Jason Crystal |
| Created | 18 August 2008 |

