You are currently browsing the tag archive for the 'acts_as_ferret' tag.
I pushed out some more improvements to both finder_filter and user_event_logger over the weekend.
- Rails 2.1.1 - A bugfix release.
- Get a Free License for Today! - Today is a little Mac menubar app that helps track your tasks & calendar. It’s not bad, and if you’re a blogger you can get it for free.
- Map Rails Kit - Geocoding and Google Maps plotting in one abstract API, for $199. I’ve done this work myself, and I’m pretty sure I charged my client more than $199 for it.
- Ruby on Struts - A contrarian view about RESTful routes in Rails.
- ActsAsOrderedTree - Coming in handy on a project for me currently. Seems to fit my brain better than BetterNestedSet.
- acts_as_ferret tutorial - A good introduction.
- Asset Versioning in Rails - Understanding why Rails tacks that querystring on to your images.
- Inspect My SQL - Another tool for performance-tuning in Rails.
- DB Fixtures Replacement Step by Step - How to move to factory_girl for testing. I’m starting to feel this itch myself.
Although I’m aiming for daily updates here, I do plan to take tomorrow off. Merry Christmas!
- Tactile Pro 2.0 - Have I ever mentioned how much I detest membrane keyboards? The Mac Pro keyboard is better than most, but it still stinks. It turns out that Matias makes a mechanical switch keyboard for Mac; I’ve got one on order, and I’ll let you know if it’s as good as the Unicomp PC keyboards when it arrives.
- BetterZip - An actual GUI archive application for OS X. Not entirely sure this is worth paying for, though I do get annoyed at the lack of fine control over zip options that the OS gives by default.
- BitNami WordPress stack - This is what I used to install WordPress, and it was pretty painless. I did have to muck around in the Apache configuration files, though; by default it puts the install on port 8080 in the /wordpress folder.
- Installing ffmpeg on Mac OS X - Needed this for a client the other day; here’s the easiest install instructions I could find.
- Acts_as_ferret Tutorial - Another chunk of software I’m needing to come up to speed on; this is helpful.
Oops, comments here were broken yesterday. My fault: I hadn’t gotten DNS resolution set up properly on the server hosting this blog, so it was biting its own tail and dying when trying to contact Akismet. Ah, those wacky networks.
- Acts_As_Ferret Tutorial - Not new, but something I need to look into, since I’m involved with one project that may be switching from solr to Ferret for full-text indexing and searching.
- Code Spaces - Project hosting, issue tracking, Subversion hosting, on-the-fly backups. Free for 2 users and 1 project, pay plans as you want to host more there.
- Wuby - Self-contained Ruby web server and lightweight application framework. (via Ruby Inside)
I’m looking for a way to do a complex search across a variable set of multiple fields in a Rails form. In .NET, I’d just build up dynamic SQL by brute force, but that doesn’t seem very Rails-ish, so I went hunting.
- Use find_by_sql and the join method to build up a condition string. This is essentially the brute force method translated to Rails.
- Acts_as_Ferret lets you set up full-text searching across multiple fields, but that doesn’t actually fit the requirements.
- ModelSearch is a plugin that was demoed in one of the talks at RailsConf Europe 2006. It lets you do things like
search = ProductSearch.new
search.keyword = 'television'
search.max_price = 300
search.sort = :price
search.find(:all)
This is cool, but it doesn’t seem to have actually been released into the wild yet.
articles = Article.find_where(:all) do |article|
article.title =~ 'Lorem%'
article.author.name 'Ezra'
article.comments.user.name ‘Fab’
end
- Squirrel is another plugin inspired by ez-where. It has a similar syntax and includes pagination support.
Right at the moment I’m inclining towards using Squirrel to meet my requirements.
I continue to be amazed at all the things I find on the Web. Fortunately, I don’t inflict most of them on you here.
- Acts_As_Ferret Tutorial - How to set up high-performance text searching in your Rails applications.
- RESTful Rails Development - Tutorial available in German or English; Paypal donation requested if you find it useful. (via Ruby Inside)
- Ruby Implementations Shootout: Ruby vs Yarv vs JRuby vs Gardens Point Ruby .NET vs Rubinius vs Cardinal - Despite the careful methodology and the poster’s cautions, I’m sure there will be plenty of unwarranted conclusions drawn from this study, but I’m linking to it anyhow. Just try to keep in mind the difference between “platform X is slow” and “a particular group’s project on top of platform X in its early days is slow.”

