Hi! Thanks for visiting my blog. If you've received any value from my content would you mind supporting my new startup by downloading our browser add-on? It's called PriceBlink and makes online shopping a breeze. You can watch it in action here and download it for Chrome, Firefox, IE, or Safari by going to PriceBlink.com. Thank you and I hope you enjoy!

Consolidating My Blogs to Reside @ techskater.com

Apr 20

I’ve decided to consolidate my different blogs about technology and skateboarding into techskater.com. I’ve migrated a majority of my content to this blog, but need to update all my pages in Google (> 300) to redirect to techskater. You’ll notice that this link about GoDaddy on Rails @ db75.com (my old blog) will redirect you to the appropriate article on techskater. Only 299 more pages to go :)

This will be an ongoing process so I decided not to wait until the full transition is done. My plans are to post about the entire process as I think there are some useful tips I can share for those moving their blogs to a new server/url. In the meantime, if you’re interested in Ruby on Rails, skateboarding, entrepreneurship, or just want to keep up with me then please feel free to subscribe to my RSS feed or check back every now and then. Thanks.

Read More

Git: ‘submodule’ is not a git-command

Apr 17

This was the error I received when deploying a Capistrano deployment from github. Keep in mind to even get your submodules deployed you’ll need to add the following var to deploy.rb:

set :git_enable_submodules, 1

It turns out that I had git 1.5.2.5 and submodule support did not come until 1.5.3. So I was forced to upgrade. The process went something like this:

sudo apt-get update

sudo apt-get build-dep git-core

sudo apt-get remove git-core

wget http://www.kernel.org/pub/software/scm/git/git-1.6.2.tar.gz

tar xzf git-1.6.2.tar.gz

cd cd git-1.6.2

./configure

make

sudo make install

Type “git submodule” and you should see the appropriate error, meaning it recognizes the submodule parameter. There’s a chance that git won’t be in your path so just do the following:

export PATH=$PATH:/usr/local/bin

You should be good to go!

Read More

Removing Ugly index.php from URL with Magento Commerce

Apr 15

If you’re working with Magento Commerce you’ll most likely want to remove index.php from the URL when you go live. Or maybe you don’t care so feel free to stop reading.

This post addresses all the things you can do to remove index.php, but let me touch on the items that worked for me:

- From Magento’s admin go to System > Configuration > Web and change “Use Web Server Rewrites” to Yes

- Make sure both Base URLs for secure and unsecure don’t contain index.php

- Make sure Apache rewrites are enabled: sudo a2enmod rewrite

- This is the big one…I had to change my Apache config (/etc/apache2/sites-available/default) where it references AllowOverride None to AllowOverride All

- Restart Apache and you should be good to go

I hope this helps!

Read More

New Guapo Skateboards Site

Apr 10

A new Guapo Skateboards site will be dropping soon. In the meantime you can check out the press release. Props to Bart Damer for bringing this to life. Bart does all the Guapo deck graphics as well as some incredible motion graphics work. I help Guapo with their online technology needs and bringing all the systems together. It’s gonna be a big year for Guapo and Push Distribution so keep an eye on em!

I’m lucky to skate with the Guapo guys at The Ill Center. If you’re in Dallas and want to skate sometime then leave me a comment. I always love to shred with new peeps!

Read More

Rails Engines and the “A copy of ApplicationController has been removed from the module tree but is still active!” error

Apr 02

This was a beast of an error to get around, but finally I did in a not so clean manner. I’ve been working with Rails Engines and the approach was to make all controllers in my engine path “unloadable” per the last comment in this thread:

http://dev.rubyonrails.org/ticket/6001

Not the cleanest approach, but it will work until I can actually understand the core problem and refactor my code. This should at least buy you some time so that you can focus on creating modular Rails Engines!

Read More