Getting RPM working with Rails 3.0
Note: This has only been tested to work with Heroku, my hosting service of choice. It's not been tested anywhere else. Regardless, you should still test everything yourself.
Note: This has only been tested to work with Heroku, my hosting service of choice. It's not been tested anywhere else. Regardless, you should still test everything yourself.
Something work remembering that keeps catching me out is surround Rails 3 and it's assumption that everything is NOT html safe (a change of opinion from Rails 2).
Comments [3]
Earlier I had a interesting problem setting conditions on a query using Rails and ActiveRecord.
Comments [0]
These days there's a common requirement to be searching data in a way that's not just a simple find query. People want to search against text, and do weird and wonderful things like fuzzy searching. As I've been blogging about Rails a fair amount recently in a "Look Ma! I just figured this out!" way, I thought I would talk about how this could be done. The requirement I have is to search property in a model that consists of text and search it in as flexible way as possible (a LIKE just won't suffice here)
Comments [0]
Recently, during the development of BoxFile, I decided that I needed a nice caching layer on the site to alleviate unnecessary load on the server, but to also speed the application up on some of the more intensive pages such as the document view. After a couple of minutes research, it transpired in Rails that this is actually pretty easy.
Comments [0]

One small gotcha that's worth noting about the Rails 3 release is one of the many deprecations that are in the release:
<%= form.error_messages %>
Comments [2]
At the moment, Rails 3, the new version of the Ruby on Rails framework is nearing the end of it's beta process before a release into the wild. And being open source, it's a tool that everyone has a say in, and that everyone can affect in some way or another.
Comments [0]
Comments [0]