Upgrade To Rails 3.0.10 And Ruby 1.9.2 Reviewed


ruby on rails 3 upgradeOver a year ago (!) I announced my intention to upgrade mightyvites.com from Ruby 1.8.7 and Rails 2.2.2 to Ruby 1.9.2 and Rails 3. Took me long enough but I’m now finally following up on the issue.

No, it didn’t take me a year to do the upgrade. Shortly after I wrote that post I took a full time Rails job. Then my business got busy with paying customers. Then I got engaged and a few months later married. There were a lot of distractions which kept throwing me off my Ruby On Rails upgrade plans. I did do it though. In fact I completed two Rails upgrades this summer. One for mightyvites.com and one for my employer. In both cases I transitioned webapps from Rails 2.x to Rails 3.0.10 and introduced Ruby 1.9.2. Doing so was definitely worth it. Rails 3 feels so much more mature than previous releases. The upgrade, however, was not easy. Below are the issues I had to deal with to make it happen.
Read the rest of this entry »

Incoming search terms:

  • upgrade to rails 3 0 10
  • blog rails 3 0 10
  • rails rescue_action_in_public
  • rails rescue_action_in_public rails 3 1
  • rescue_action_in_public
  • ruby 1 8 to ruby 1 9 mysql encoding
  • ruby 1 9 review
  • ruby1 9 rails3 encoding
  • update to rails 3 0 10
  • upgrade from rails 3 0 to 3 0 10

Ruby On Rails Transactional Email Using MailChimp And SendGrid


mailchimp sendgridSince launch mightyvites.com has sent email through Gmail using very basic HTML/ERB templates. There have been no graphics, little styling, and zero email client testing. In other words our emails have sucked and looked very unprofessional. Why? Because those are the last things you worry about when you’re trying to push out the door a product that you’re not sure anyone will buy. Once your site has users, however, these are the bells and whistles you need to put time into.

Recently the time came for me to spruce up the emails mightyvites.com sends. I wanted slick-looking HTML that looks good in all email clients, makes it to users’ inboxes, is multipart, and can be tracked. In addition the email templates should be easy for non-geeks to edit. That way they can be changed often and not always by me.
Read the rest of this entry »

Incoming search terms:

  • sendgrid email template with mail api
  • tracking emails sent through rails application using mailchimp
  • sendgrid email templates
  • mailchimp transactional emails
  • mailchimp wedding invitation
  • mailchimp rails tutorial
  • ruby on rails mail chimp
  • ruby on rails email invitations
  • rails envio de email via mailchimp
  • transactional email mailchimp

The Mighty Nice March To Ruby On Rails 3 And Ruby 1.9.2


Ruby On Rails 3

I’ve been working with Ruby On Rails 2.2.2 and Ruby 1.8.7 for a little over a year now. The Mightyvites site is built on that foundation, as is the Mighty Nice site, and a few of our client sites. However, with the release of Rails 3, and it’s compatibility with Ruby 1.9.2, I’m itching to upgrade both. There are a few reasons why I want to upgrade the cores of our RoR sites: Read the rest of this entry »

Incoming search terms:

  • rails 3 slower than rails 2
  • Mighty Rails
  • rails 3 ruby 1 9 performance
  • rails3 ruby 1 9 performance
  • rails3 slower
  • rails3 slower than rails2
  • ruby 1 9 2 performance
  • invitation plugin in ruby on rails 3
  • ruby on rails 3
  • upgrade rails 3 to 1 9 2

Baking ActiveRecord Cookies With JSON


Our upcoming Mightyvites site has a nifty form where users can calculate the cost of their invitations. There are a number of options to choose from, and once a user makes the effort to price a package they shouldn’t lose their settings if they leave the page. It’s imperative that the form pick up where the user left off so that it is easy for them to continue with their purchase. That said I needed a way to persist their configuration, but I couldn’t rely on the database because the user very well may be anonymous. I also didn’t want to use the session because it will expire soon.
Read the rest of this entry »

Incoming search terms:

  • rails json cookie
  • activerecord store json
  • rails json session
  • rails json cookies
  • rails cookie json
  • mighty nice blog
  • active record store json
  • store json activerecord
  • json cookie rails
  • json cookie