Welcome to my blog. I’ll be discussing anything and everything from programming to music.
Blog
carrierwave_securefile 0.2.0 out!
Hey all,
carrierwave_securefile 0.1 was… buggy, to say the least. Realistically, it only worked on one of my own projects.
So, today, I released 0.2.0, which now gives you the option to select a different encryption algorithm (defaults to Blowfish, but you can select Rijndael and GOST as well – please read the article linked below before changing the algorithm), as well as changing the download code syntax slightly.
Read through the usage here, and check out this small article on encryption types here.
As always, if you notice a bug or any problems, don’t hesitate to let me know. Thanks!
GitHub Project Page For carrierwave_securefile Gem
CarrierWave_SecureFile
I just released 0.1.0 of CarrierWave_SecureFile – a gem for Rails to encrypt and decrypt file uploads and downloads using a Blowfish cypher. Requires Ruby 1.9, Rails 3.1 (though it should work on any version of Rails 3).
Check it out on RubyGems.org. Click the homepage link for the Git repo.
Enjoy!
Installing mysql2 gem using MAMP and RVM
Because I work with different platforms (PHP, Ruby, WordPress, etc.), it’s always been easier for me to maintain a database setup using MAMP, rather than the built-in options Mac OS X has.
However, this leads to some issues when setting up a database in a Ruby on Rails environment. Rails makes connecting to a database easy – if you have a standard configuration, or, even better, if you’re using sqlite. Nearly every production environment I’ve used uses MySQL or PostgreSQL, and deployment is a breeze (:crosses fingers:).
I came across this need a while back, and spent nearly a day (!!!) trying to make this happen. Today I needed to upgrade a project to Rails 3.1, which requires mysql2 >0.3. I was using 0.2. Bollocks. Back to the drawing board.
(more…)
Need A New Web Site?
… and need it done fast? Contact me today, or find out some more details from the latest Craigslist ad:
http://richmond.craigslist.
Ciao!

More Posts