upgrade a rails app from rails 2 to rails 3
Just a few notes on a recent upgrade with a rails project that was fairly young thus did not have a lot of issues moving to rails 3.
Just a few notes on a recent upgrade with a rails project that was fairly young thus did not have a lot of issues moving to rails 3.
I ran into some problems upgrading devise from 1.0.x to 1.3.x. to use passwords besides bcrypt you have to made 2 changes: in config/initializers/devise.rb config.encryptor = :sha1 (for devise 1.0.x compatibility) in User model (or whatever model calls devise) call devise with both :database_authenticatable and :encryptable you can tell you have issues with this if you see …
Continue reading ‘problems upgrading devise in an rails 2 to rails 3 migration’ »
Trying to figure out how easy it is to use ruby to write a desktop application. It would be nice to have something cross-platform. At the moment I’m playing with qt4, gtk2, and wxwidgets.
I can’t find any information about this, partially due to the badly named noscript extension, but it appears that firefox will load an image in a noscript block even when javascript is enabled. This is troubling for my use because I’ve put a static google map on an app for those that do not have …
Continue reading ‘Firefox seems to load content in noscript tags when javascript is enabled’ »
These are some numbers for the cpu/mb/ram/video assuming all else will be equal. The AMD Phenom II X4 945 is available again. It’s a great CPU that allows for ECC RAM, if one is willing to spend 2x as much for ECC RAM these days. Intel Sandy Bridge system will be much quicker, though I …
Just walking through some bug fixing.
Just some notes. Of course one could use both.
Lots’ of work moving to unobtrusive mapping using googe maps and jquery, storing location data as hcard microformat.
My phone is experiencing a lot of problems, most noticeably that call quality has been abysmal. So I’m looking at new phones and perhaps a new carrier / plan.
I speculated earlier that I might buy a sandy bridge CPU and motherboard and that it would represent a break from 16 years of buying AMD. I have always bought at the low end of price where AMD has always offered superior competition. But I am not blind to how well sandy bridge systems perform …