Sending Gmail through SMTP on Heroku, Rails 3
Heroku's documentation for sending smtp email from your Rails app is pretty thurough but when it comes to Rails 3 and gmail via smtp it's a little out dated. Mikel Lindsaar made a super-duper blog post on sending email with gmail/smtp...
Testing :dependent parameter in Rails
In an effort to post on here more often I'm going to start small. I had a brain fart on how to test the has_many :dependent parameter for Rails associations today. With my trusty rspec book not on-hand, it just took a little googling...
Customizable Generic jQuery Accordion
Here is a pretty simple way to quickly make a simple but completely CSS customizable accordion using jquery and a cleverly set up unordered list.
Lets start with the html:
<ul class="acc_ul"> <li> <h5 class="collapsed">Eddard...Only version image files with CarrierWave gem
For the current project I am working on we are using the CarrierWave gem as an upload solution for users to upload files. It is a great solution for uploading files to your rails that allows you to specify “versions” of uploaded images that...
Installing MySQL gem on Snow Leopard
This was the one post I made on my tumblr blog. Since it looked kind of lonely up there I thought I would bring it over…
I had quite a bit of a headache trying to get the MySQL ruby gem working on Snow Leopard. Every time I would try to...