Uninitialized Constant User::Playlist

I ran into a problem in Rails today where I was getting a pretty vague ‘uninitialized constant User::Playlist’ error. It was happening when my user#show was being called in the user controller. I started digging around and finally realized it was an issue within my playlist model. I had an old gem being initialized(?) within the playlist model, but didn’t have the gem installed. The offending code was has_paper_trail. Everything worked fine once I removed that from the Playlist model.

Ember.js Authentication

http://coderberry.me/blog/2013/07/08/authentication-with-emberjs-part-1/

http://coderberry.me/blog/2013/07/08/authentication-with-emberjs-part-2/

http://coderberry.me/blog/2013/07/08/authentication-with-emberjs-part-3/

Getting Command-T Working In Yosemite

I just updated to Yosemite, and one of the issues I ran into was using the command-t plugin for Vim. I ran into an error similar to:

Vim: Caught deadly signal SEGV

My solution was to remove the command-t plugin from /bundle, clone the plugin into /bundle, cd into cd ~/.vim/bundle/command-t/ruby/command-t, and run ruby extconf.rb make.

The trick was removing to completely remove the plugin in the first place.

Sources:
https://github.com/wincent/Command-T
http://jesperrasmussen.com/2013/11/04/setting-up-command-t-for-macvim-on-os-x-mavericks/